Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 2c221fb6 authored by rswindell's avatar rswindell

Added (int) typecast to SAFECOPY macro to make gcc -Wall happy.

parent fca86f70
......@@ -132,7 +132,7 @@ enum {
#define HANDLE void*
#endif
#define SAFECOPY(dst,src) sprintf(dst,"%.*s",sizeof(dst)-1,src)
#define SAFECOPY(dst,src) sprintf(dst,"%.*s",(int)sizeof(dst)-1,src)
/****************************************************************************/
/* MALLOC/FREE Macros for various compilers and environments */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment