read = size_t
size = long
...
Index: ../externals/libssh2/src/openssl.c
===================================================================
--- ../externals/libssh2/src/openssl.c (revision 290)
+++ ../externals/libssh2/src/openssl.c (working copy)
@@ -241,7 +241,7 @@
}
read = fread(*key, 1, size, fp);
- if (read != size) {
+ if (read != (size_t)size) {
LIBSSH2_FREE(session, *key);
return -1;
}
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-08-14