Ver código fonte

Remove a nullptr

Chris Forseth 7 anos atrás
pai
commit
de75509b1c
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      stb_image.h

+ 1 - 1
stb_image.h

@@ -6487,7 +6487,7 @@ static void *stbi__load_gif_main(stbi__context *s, int **delays, int *x, int *y,
                (*delays)[layers - 1U] = g.delay; 
                (*delays)[layers - 1U] = g.delay; 
             }
             }
          }
          }
-      } while (u != nullptr); 
+      } while (u != 0); 
 
 
       // free temp buffer; 
       // free temp buffer; 
       STBI_FREE(g.out); 
       STBI_FREE(g.out);