aboutsummaryrefslogtreecommitdiffstats
path: root/console/webcam.c
diff options
context:
space:
mode:
Diffstat (limited to 'console/webcam.c')
-rw-r--r--console/webcam.c4
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);

Privacy Policy