allow Read32FromFile to return signed value
authorAlexey Vyskubov <alexey@ocaml.nl>
Fri, 30 Jan 2015 22:33:09 +0000 (00:33 +0200)
committerAlexey Vyskubov <alexey@ocaml.nl>
Fri, 30 Jan 2015 22:34:45 +0000 (00:34 +0200)
csrc/pf_save.c

index d46958a..80b4c1e 100644 (file)
@@ -513,7 +513,7 @@ error:
 #ifndef PF_NO_FILEIO\r
 \r
 /***************************************************************/\r
 #ifndef PF_NO_FILEIO\r
 \r
 /***************************************************************/\r
-static uint32_t Read32FromFile( FileStream *fid, uint32_t *ValPtr )\r
+static int32_t Read32FromFile( FileStream *fid, uint32_t *ValPtr )\r
 {\r
        int32_t numr;\r
        uint8_t pad[4];\r
 {\r
        int32_t numr;\r
        uint8_t pad[4];\r