More 64-bit compatibility fixes
authorAri Johnson <ari@startrekkin.net>
Sat, 17 Feb 2007 20:21:18 +0000 (20:21 +0000)
committerAri Johnson <ari@startrekkin.net>
Sat, 17 Feb 2007 20:21:18 +0000 (20:21 +0000)
src/funcrypt.c

index 52e02a0cdc44d9d2a692fdf04831f572a2d4ca10..dfd5e10a170e7c08e8468d386920a04b73f40f73 100644 (file)
@@ -156,7 +156,7 @@ FUNCTION(fun_digest)
   EVP_MD_CTX ctx;
   const EVP_MD *mp;
   unsigned char md[EVP_MAX_MD_SIZE];
-  size_t n, len = 0;
+  unsigned n, len = 0;
 
   if ((mp = EVP_get_digestbyname(args[0])) == NULL) {
     safe_str(T("#-1 UNSUPPORTED DIGEST TYPE"), buff, bp);