Browse Source

cast not optional

ENGINE-641
Volker Birk 3 years ago
parent
commit
cfc78a0012
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      src/pgp_sequoia.c
  2. +1
    -0
      src/status_to_string.h

+ 1
- 1
src/pgp_sequoia.c View File

@ -2087,7 +2087,7 @@ PEP_STATUS pgp_export_keydata(
if (memory_writer) {
if (status == PEP_STATUS_OK) {
// Add a trailing NUL.
pgp_writer_write(NULL, memory_writer, "", 1);
pgp_writer_write(NULL, memory_writer, (const uint8_t *) "", 1);
}
pgp_writer_free(memory_writer);


+ 1
- 0
src/status_to_string.h View File

@ -78,6 +78,7 @@ static inline const char *pEp_status_to_string(PEP_STATUS status) {
case PEP_SYNC_NO_CHANNEL: return "PEP_SYNC_NO_CHANNEL";
case PEP_SYNC_CANNOT_ENCRYPT: return "PEP_SYNC_CANNOT_ENCRYPT";
case PEP_SYNC_NO_MESSAGE_SEND_CALLBACK: return "PEP_SYNC_NO_MESSAGE_SEND_CALLBACK";
case PEP_SYNC_CANNOT_START: return "PEP_SYNC_CANNOT_START";
case PEP_CANNOT_INCREASE_SEQUENCE: return "PEP_CANNOT_INCREASE_SEQUENCE";


Loading…
Cancel
Save