Skip to content
Snippets Groups Projects
Commit 79db7ce1 authored by Lyle Johnson's avatar Lyle Johnson
Browse files

Modified stub for FXApp#init to suppress compiler warning about implicit trunc

parent 6e78cc26
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ inline void cls ## _create(cls *self){ \
static void cls ## _init(cls* self,VALUE ary,bool connect){ \
int i; \
char **argv; \
int argc=1+RARRAY_LEN(ary); \
int argc=static_cast<int>(1+RARRAY_LEN(ary)); \
if(FXMALLOC(&argv,char*,argc+1)){ \
argv[0]=const_cast<char *>("foo"); \
for(i=1;i<argc;i++){ \
......
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