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/jp2.c | |
parent | 0b74aab939c24a6999a67cbe58584957b69d6f49 (diff) |
use 'const char *' for imbuf and file ops.
Diffstat (limited to 'source/blender/imbuf/intern/jp2.c')
-rw-r--r-- | source/blender/imbuf/intern/jp2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/jp2.c b/source/blender/imbuf/intern/jp2.c index 0403d0044f5..3f0443e5a88 100644 --- a/source/blender/imbuf/intern/jp2.c +++ b/source/blender/imbuf/intern/jp2.c @@ -661,7 +661,7 @@ static opj_image_t* ibuftoimage(ImBuf *ibuf, opj_cparameters_t *parameters) { /* Found write info at http://users.ece.gatech.edu/~slabaugh/personal/c/bitmapUnix.c */ -int imb_savejp2(struct ImBuf *ibuf, char *name, int flags) { +int imb_savejp2(struct ImBuf *ibuf, const char *name, int flags) { int quality = ibuf->ftype & 0xff; |