X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fwebcollage-helper.c;h=99fef88b679fa2280ed9c91979301e34b4ce3010;hb=6a1da724858673ac40aa13a9612340d8bed8c7b9;hp=7c88a932b8e9b34dabb31cd1b33915a9794269e4;hpb=c28aecf9fc41e3a03494bacf7279745425e2fa18;p=xscreensaver diff --git a/hacks/webcollage-helper.c b/hacks/webcollage-helper.c index 7c88a932..99fef88b 100644 --- a/hacks/webcollage-helper.c +++ b/hacks/webcollage-helper.c @@ -1,5 +1,5 @@ /* webcollage-helper --- scales and pastes one image into another - * xscreensaver, Copyright (c) 2002 Jamie Zawinski + * xscreensaver, Copyright (c) 2002, 2003 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -302,7 +302,9 @@ add_jpeg_comment (struct jpeg_compress_struct *cinfo) "\r\n"; char comment[sizeof(fmt) + 100]; strftime (comment, sizeof(comment)-1, fmt, tm); - jpeg_write_marker (cinfo, JPEG_COM, comment, strlen (comment)); + jpeg_write_marker (cinfo, JPEG_COM, + (unsigned char *) comment, + strlen (comment)); }