Removed the len/WritePos,pos/ReadPos unions again, as some versions of
authorkramm <kramm>
Wed, 31 Oct 2001 19:45:52 +0000 (19:45 +0000)
committerkramm <kramm>
Wed, 31 Oct 2001 19:45:52 +0000 (19:45 +0000)
gcc can't handle empty unions.

lib/rfxswf.h

index 377123e..43d4b87 100644 (file)
@@ -73,15 +73,8 @@ typedef struct _TAG             // NEVER access a Tag-Struct directly !
   U8 *          data;
   U32           memsize;        // to minimize realloc() calls
 
-  union
-  { U32         len;            // for Set-Access
-    U32         dataWritePos;        
-  };
-
-  union
-  { U32         pos;            // for Get-Access
-    U32         dataReadPos;
-  };
+  U32         len;            // for Set-Access
+  U32         pos;            // for Get-Access
 
   int           frame;          // not really up-to-date