Browse Source

Merge branch 'main' of https://github.com/ComposersDesktop/CDP8

richarddobson 1 month ago
parent
commit
5cbf470745
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dev/pvxio2/pvfileio.c

+ 1 - 1
dev/pvxio2/pvfileio.c

@@ -1446,7 +1446,7 @@ int32_t pvoc_framepos(int32_t ifd)
 int32_t pvoc_seek_mcframe(int32_t ifd, int32_t offset, int32_t mode)
 int32_t pvoc_seek_mcframe(int32_t ifd, int32_t offset, int32_t mode)
 {
 {
  //   DWORD mcframealign;
  //   DWORD mcframealign;
-    DWORD rawoffset;
+    int32_t rawoffset;  /* RWD need to be signed to work for to and fro seeks*/
     int32_t rc = -1;
     int32_t rc = -1;
     int32_t mcframealign;
     int32_t mcframealign;
     int32_t pvxcur = 0;
     int32_t pvxcur = 0;