[opengtl-commits] [417] --warnings

[ Thread Index | Date Index | More lists.tuxfamily.org/opengtl-commits Archives ]


Revision: 417
Author:   cyrille
Date:     2008-09-30 22:39:47 +0200 (Tue, 30 Sep 2008)

Log Message:
-----------
--warnings

Modified Paths:
--------------
    trunk/OpenGTL/OpenShiva/OpenShiva/Parser_p.cpp
    trunk/OpenGTL/OpenShiva/OpenShiva/wrappers/RegionWrap_p.h


Modified: trunk/OpenGTL/OpenShiva/OpenShiva/Parser_p.cpp
===================================================================
--- trunk/OpenGTL/OpenShiva/OpenShiva/Parser_p.cpp	2008-09-30 20:31:08 UTC (rev 416)
+++ trunk/OpenGTL/OpenShiva/OpenShiva/Parser_p.cpp	2008-09-30 20:39:47 UTC (rev 417)
@@ -27,6 +27,7 @@
 #include <GTLCore/AST/Statement.h>
 #include <GTLCore/AST/Tree.h>
 #include <GTLCore/CompilerBase_p.h>
+#include <GTLCore/Type.h>
 #include <GTLCore/TypeManager.h>
 #include <GTLCore/VariablesManager_p.h>
 

Modified: trunk/OpenGTL/OpenShiva/OpenShiva/wrappers/RegionWrap_p.h
===================================================================
--- trunk/OpenGTL/OpenShiva/OpenShiva/wrappers/RegionWrap_p.h	2008-09-30 20:31:08 UTC (rev 416)
+++ trunk/OpenGTL/OpenShiva/OpenShiva/wrappers/RegionWrap_p.h	2008-09-30 20:39:47 UTC (rev 417)
@@ -62,7 +62,7 @@
 
 inline GTLCore::Region regionWrapToRegion( RegionWrap * rwrap)
 {
- return GTLCore::Region( rwrap->x, rwrap->y, rwrap->width, rwrap->height );
+ return GTLCore::Region( (int) rwrap->x, (int) rwrap->y, (int) rwrap->width, (int) rwrap->height );
 }
 
 inline ArrayWrap* regionListToArrayWrap( const std::list<GTLCore::Region> & regions)


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/