summaryrefslogtreecommitdiff
path: root/camlibs/smal/ultrapocket.c
diff options
context:
space:
mode:
Diffstat (limited to 'camlibs/smal/ultrapocket.c')
-rw-r--r--camlibs/smal/ultrapocket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camlibs/smal/ultrapocket.c b/camlibs/smal/ultrapocket.c
index 445c2271c..368edde2c 100644
--- a/camlibs/smal/ultrapocket.c
+++ b/camlibs/smal/ultrapocket.c
@@ -251,7 +251,7 @@ ultrapocket_getrawpicture(Camera *camera, GPContext *context,
return (GP_ERROR_NO_MEMORY);
/* Set header */
- strcpy(outdata, ppmheader);
+ strcpy((char *)outdata, ppmheader);
/* Expand the Bayer tiles */
result = gp_bayer_expand((rawdata+imgstart), width + 4, height,
@@ -340,7 +340,7 @@ ultrapocket_getpicture(Camera *camera, GPContext *context, unsigned char **pdata
}
/* Set header */
- strcpy(outdata, ppmheader);
+ strcpy((char *)outdata, ppmheader);
/* Decode and interpolate the Bayer tiles */
result = gp_bayer_decode((rawdata+imgstart), width+4, height,