From 79db7ce15ae8187411498f7424a13da320cba8d6 Mon Sep 17 00:00:00 2001
From: Lyle Johnson <lyle@lylejohnson.name>
Date: Tue, 25 May 2010 14:24:48 -0500
Subject: [PATCH] Modified stub for FXApp#init to suppress compiler warning
 about implicit trunc

---
 ext/fox16/include/FXRbApp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/fox16/include/FXRbApp.h b/ext/fox16/include/FXRbApp.h
index fe645ee..d9b30ef 100644
--- a/ext/fox16/include/FXRbApp.h
+++ b/ext/fox16/include/FXRbApp.h
@@ -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++){ \
-- 
GitLab