SaveGIF(): remove compilation warning

This commit is contained in:
Thomas Bernard 2019-06-29 10:24:29 +02:00
parent dbaa8137e9
commit b4abb9edff

View File

@ -5094,7 +5094,7 @@ void Save_GIF(T_IO_Context * context)
if (context->Comment[0]) if (context->Comment[0])
{ {
Write_bytes(GIF_file,"\x21\xFE",2); Write_bytes(GIF_file,"\x21\xFE",2);
Write_byte(GIF_file,strlen(context->Comment)); Write_byte(GIF_file, (byte)strlen(context->Comment));
Write_bytes(GIF_file,context->Comment,strlen(context->Comment)+1); Write_bytes(GIF_file,context->Comment,strlen(context->Comment)+1);
} }
/// - "CRNG" Color cycing extension : /// - "CRNG" Color cycing extension :