adapt to newer compiler with stricter checking of format stringsand buffers
Stefan Schuermans

Stefan Schuermans commited on 2019-08-13 18:45:32
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -1249,7 +1249,7 @@ stBlinkenMovie *BlinkenMovieLoadBml(const char *pFilename)
1249 1249
   stBlinkenMovie *pMovie;
1250 1250
   stBlinkenFrame *pFrame;
1251 1251
   int width, height, channels, bits, maxval, chrs, y, x, c, duration, val;
1252
-  char buffer[2048], infoType[256], infoData[1024], pixelFormat[16], pixel[8],
1252
+  char buffer[2048], infoType[256], infoData[1024], pixelFormat[24], pixel[8],
1253 1253
       *ptr, chr;
1254 1254
 
1255 1255
   if (pFilename == NULL)
1256 1256