Skip to content
Snippets Groups Projects
Commit 2c221fb6 authored by rswindell's avatar rswindell
Browse files

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

parent fca86f70
No related branches found
No related tags found
No related merge requests found
...@@ -132,7 +132,7 @@ enum { ...@@ -132,7 +132,7 @@ enum {
#define HANDLE void* #define HANDLE void*
#endif #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 */ /* MALLOC/FREE Macros for various compilers and environments */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment