use 'const char *' for imbuf and file ops.
[blender.git] / source / blender / imbuf / intern / targa.c
index bc88f2bed0d1d3de8b6a7fb5369fae8c4dc09678..a748cc1ab1d2b0c1b811b4eb13fb9411e0df138a 100644 (file)
@@ -233,7 +233,7 @@ static int dumptarga(struct ImBuf * ibuf, FILE * file)
 }
 
 
-int imb_savetarga(struct ImBuf * ibuf, char *name, int flags)
+int imb_savetarga(struct ImBuf * ibuf, const char *name, int flags)
 {
        char buf[20]= {0};
        FILE *fildes;