]> www.average.org Git - pam_pcsc_cr.git/blobdiff - test_base64.c
make raw data for b64 unsigned
[pam_pcsc_cr.git] / test_base64.c
index 83fbf57869cba2800031f88caee50b2787ae820b..2df9639a6249fadefde82b6cee51b6b8c2de156d 100644 (file)
@@ -30,12 +30,12 @@ freely, subject to the following restrictions:
 #include <string.h>
 #include "base64.h"
 
-static char src[40] = "Quick brown fox jumps over the lazy dog";
+static unsigned char src[40] = "Quick brown fox jumps over the lazy dog";
 
 int main(int argc, char *argv[])
 {
        char b64[80];
-       char dst[40];
+       unsigned char dst[44];
        int bsize, dsize;
 
        printf("src=\"%s\" (%d)\n", src, (int)sizeof(src));