Fix gcc warnings (assignment makes integer from pointer without a cast).
authorKen Hughes <khughes@pacific.edu>
Sat, 24 Mar 2007 05:10:03 +0000 (05:10 +0000)
committerKen Hughes <khughes@pacific.edu>
Sat, 24 Mar 2007 05:10:03 +0000 (05:10 +0000)
source/blender/src/drawview.c

index 5c4e0e827a9363bd7b7c68f247c8ef863d59d0ca..9d31936278605e192ba346f9756bb26e49a0a1bc 100644 (file)
@@ -1348,7 +1348,7 @@ static void draw_selected_name(Object *ob)
                KeyBlock *kb = NULL;
                char shapes[75];
                
-               shapes[0] = NULL;
+               shapes[0] = 0;
                key = ob_get_key(ob);
                if(key){
                        kb = BLI_findlink(&key->block, ob->shapenr-1);