Skip to content

Commit 9b3a4f2

Browse files
committed
constify
1 parent 3bd2ae5 commit 9b3a4f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/minisign.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ write_pk_file(const char *pk_file, const PubkeyStruct *pubkey_struct)
621621
}
622622
xfprintf(fp, COMMENT_PREFIX "minisign public key %" PRIX64 "\n",
623623
le64_load(pubkey_struct->keynum_pk.keynum));
624-
xfput_b64(fp, (unsigned char *) (void *) pubkey_struct,
624+
xfput_b64(fp, (const unsigned char *) (const void *) pubkey_struct,
625625
sizeof *pubkey_struct);
626626
xfclose(fp);
627627
}

0 commit comments

Comments
 (0)