Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Hughes <khughes@pacific.edu>2007-03-17 17:43:52 +0300
committerKen Hughes <khughes@pacific.edu>2007-03-17 17:43:52 +0300
commit8e43b3f950430d345e35d7643faaaf4b6122c961 (patch)
treecef0b06e7df5579293f33d0d06bc075868c20834 /source/blender/python/api2_2x/Draw.c
parent4e72e4ad2bf39bc9bb4209b4b2d0fae99127a3d9 (diff)
More fix various gcc warning, mainly related to signed/unsigned parameters
passed in general.
Diffstat (limited to 'source/blender/python/api2_2x/Draw.c')
-rw-r--r--source/blender/python/api2_2x/Draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Draw.c b/source/blender/python/api2_2x/Draw.c
index e8a7571c59f..e547aafb998 100644
--- a/source/blender/python/api2_2x/Draw.c
+++ b/source/blender/python/api2_2x/Draw.c
@@ -512,7 +512,7 @@ static int Button_setattr( PyObject * self, char *name, PyObject * v )
char *newstr;
unsigned int newlen;
- PyString_AsStringAndSize( v, &newstr, &newlen );
+ PyString_AsStringAndSize( v, &newstr, (int *)&newlen );
if (newlen+1> UI_MAX_DRAW_STR)
return EXPP_ReturnIntError( PyExc_ValueError, "Error: button string length exceeded max limit (399 chars).");