1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Const-correctness in the base64 functions.

This commit is contained in:
Simon Tatham
2015-05-12 14:00:04 +01:00
parent 4d88fe3dde
commit f274b56a57
4 changed files with 9 additions and 8 deletions

View File

@ -1276,7 +1276,7 @@ int base64_lines(int datalen)
return (datalen + 47) / 48;
}
void base64_encode(FILE * fp, unsigned char *data, int datalen, int cpl)
void base64_encode(FILE *fp, const unsigned char *data, int datalen, int cpl)
{
int linelen = 0;
char out[4];