From 31fc314882f365a2a4a85baab23d7977617aefed Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Wed, 14 Sep 2011 14:14:24 -0400 Subject: [PATCH] removed a warning --- src/libpython/base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libpython/base.h b/src/libpython/base.h index 67a2eb42..c39e5dff 100644 --- a/src/libpython/base.h +++ b/src/libpython/base.h @@ -124,7 +124,7 @@ public: if (i < 0 || i >= Size) { SLog(EError, "Index %i is out of range!", i); - return 0.0f; + return (Scalar) 0; } return value[i]; }