diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-19 05:14:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-19 05:14:18 +0300 |
commit | 5a093689570d27df5ecd7394284a670fc32234b5 (patch) | |
tree | 6f819caecb1f62583033c579305a8f12174ea049 /source/blender/imbuf/intern/png.c | |
parent | 0b74aab939c24a6999a67cbe58584957b69d6f49 (diff) |
use 'const char *' for imbuf and file ops.
Diffstat (limited to 'source/blender/imbuf/intern/png.c')
-rw-r--r-- | source/blender/imbuf/intern/png.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/png.c b/source/blender/imbuf/intern/png.c index b29a4ae0627..0acefac45b5 100644 --- a/source/blender/imbuf/intern/png.c +++ b/source/blender/imbuf/intern/png.c @@ -94,7 +94,7 @@ static void ReadData( png_structp png_ptr, png_bytep data, png_size_t length) longjmp(png_jmpbuf(png_ptr), 1); } -int imb_savepng(struct ImBuf *ibuf, char *name, int flags) +int imb_savepng(struct ImBuf *ibuf, const char *name, int flags) { png_structp png_ptr; png_infop info_ptr; |