I'm just browsing through blender's source, and I found a little totally non-vital inconsistency. In source/creator/buildinfo.c, build info is of type "const char*". When it is referred to in creator.c, it has magically become char*.

Attached is a patch to fix this.

-Clark
Index: source/creator/creator.c
===================================================================
--- source/creator/creator.c    (revision 27195)
+++ source/creator/creator.c    (working copy)
@@ -107,11 +107,11 @@
 
 // from buildinfo.c
 #ifdef BUILD_DATE
-extern char * build_date;
-extern char * build_time;
-extern char * build_rev;
-extern char * build_platform;
-extern char * build_type;
+extern const char * build_date;
+extern const char * build_time;
+extern const char * build_rev;
+extern const char * build_platform;
+extern const char * build_type;
 #endif
 
 /*     Local Function prototypes */
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to