mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-22 14:17:43 +02:00
printf: vararg functions use 'const' for format string
This commit is contained in:
committed by
Darryl L. Miles
parent
94ec5cf98f
commit
bf96348502
+2
-2
@@ -129,7 +129,7 @@ Plane *cifReadPlane; /* Plane into which to paint material
|
||||
|
||||
/* VARARGS1 */
|
||||
void
|
||||
CIFReadError(char *format, ...)
|
||||
CIFReadError(const char *format, ...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
@@ -153,7 +153,7 @@ CIFReadError(char *format, ...)
|
||||
|
||||
|
||||
void
|
||||
CIFReadWarning(char *format, ...)
|
||||
CIFReadWarning(const char *format, ...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user