diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2005-06-04 20:22:50 +0400 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2005-06-04 20:22:50 +0400 |
commit | f38e0686d909aa0d2882c197aeff59eeefa17081 (patch) | |
tree | 7f2d4a2a3324fa915427bdec590a9654366ed17e /source/blender/python/api2_2x/Font.c | |
parent | 0f82931e5fe89ed245a03a4608e524c2423c0d64 (diff) |
new round of warning fixes. we are now down to 24 with Xcode on blender
alone with the following flags :
-Wall -Wno-char-subscripts -Wno-missing-braces.
the only one still worrying me is in rand.c line 57 :
rand.c:57: integer constant is too large for "long" type
but i have no clue about how correct cross-compiler and 32/64 bits friendly
see also my mail to commiter list for signed/unsigned issues
Diffstat (limited to 'source/blender/python/api2_2x/Font.c')
-rw-r--r-- | source/blender/python/api2_2x/Font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Font.c b/source/blender/python/api2_2x/Font.c index 865285f1e42..6122477a515 100644 --- a/source/blender/python/api2_2x/Font.c +++ b/source/blender/python/api2_2x/Font.c @@ -200,7 +200,7 @@ struct VFont *Font_FromPyObject( PyObject * py_obj ) PyObject *M_Font_New( PyObject * self, PyObject * args ) { char *name_str = "<builtin>"; - char *parent_str = ""; +// char *parent_str = ""; BPy_Font *py_font = NULL; /* for Font Data object wrapper in Python */ PyObject *tmp; @@ -211,7 +211,7 @@ PyObject *M_Font_New( PyObject * self, PyObject * args ) /*create python font*/ if( !S_ISDIR(BLI_exist(name_str)) ) { tmp= Py_BuildValue("(s)", name_str); - py_font= M_Text3d_LoadFont (self, Py_BuildValue("(s)", name_str)); + py_font= (BPy_Font *) M_Text3d_LoadFont (self, Py_BuildValue("(s)", name_str)); Py_DECREF (tmp); } else |