projects
/
blender.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19c9708
)
Use fputs instead of fprintf in mem_error_cb(). This silences the
author
Chris Want <cwant@ualberta.ca>
Tue, 9 Jun 2009 18:08:45 +0000
(18:08 +0000)
committer
Chris Want <cwant@ualberta.ca>
Tue, 9 Jun 2009 18:08:45 +0000
(18:08 +0000)
gcc warning "format not a string literal and no format arguments".
source/creator/creator.c
patch
|
blob
|
history
diff --git
a/source/creator/creator.c
b/source/creator/creator.c
index f8bf728814319905800c0ac8b70e89529747d211..5a90a1e5b9fa86371a16dbf1c412c902c2514922 100644
(file)
--- a/
source/creator/creator.c
+++ b/
source/creator/creator.c
@@
-887,7
+887,7
@@
static void error_cb(char *err)
static void mem_error_cb(char *errorStr)
{
- fp
rintf(stderr, errorSt
r);
+ fp
uts(errorStr, stder
r);
fflush(stderr);
}