Graphics: fix compilation warnings
[scilab.git] / scilab / modules / graphics / src / c / getHandleProperty / get_tight_limits_property.c
index 9e0fe4f..8bfdf00 100644 (file)
@@ -75,7 +75,7 @@ void* get_tight_limits_property(void* _pvCtx, int iObjUID)
             }
 
             Scierror(999, _("%s: No more memory.\n"), "get_tight_limits_property");
-            return -1;
+            return NULL;
         }
 
     }