diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-04-01 11:24:41 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-04-01 11:24:41 +0200 |
commit | 45a153b46c280b51471ec12854cce623ef8f92be (patch) | |
tree | f4387c5c580e750919d0e5106327df0d0c54a645 /console/webcam.c | |
parent | c75c37f7104480a0d386a9e0caa8a72335395503 (diff) |
v3.95
Diffstat (limited to 'console/webcam.c')
-rw-r--r-- | console/webcam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/console/webcam.c b/console/webcam.c index ace70e9..37c836f 100644 --- a/console/webcam.c +++ b/console/webcam.c @@ -62,7 +62,7 @@ char *grab_norm = NULL; /* jpeg stuff */ static int -write_file(int fd, char *data, int width, int height) +write_file(int fd, unsigned char *data, int width, int height) { struct jpeg_compress_struct cinfo; struct jpeg_error_mgr jerr; @@ -415,7 +415,7 @@ add_text(char *image, int width, int height) { time_t t; struct tm *tm; - unsigned char line[MSG_MAXLEN+1],*ptr; + char line[MSG_MAXLEN+1],*ptr; int i,x,y,f,len; time(&t); |