*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
"\r\n";
char comment[sizeof(fmt) + 100];
strftime (comment, sizeof(comment)-1, fmt, tm);
"\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));