Merge pull request #3 from avysk/fix-sign
authorPhil Burk <philburk@mobileer.com>
Sat, 31 Jan 2015 02:47:19 +0000 (18:47 -0800)
committerPhil Burk <philburk@mobileer.com>
Sat, 31 Jan 2015 02:47:19 +0000 (18:47 -0800)
allow Read32FromFile to return signed value

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