git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29c9be4
)
Removed the len/WritePos,pos/ReadPos unions again, as some versions of
author
kramm
<kramm>
Wed, 31 Oct 2001 19:45:52 +0000
(19:45 +0000)
committer
kramm
<kramm>
Wed, 31 Oct 2001 19:45:52 +0000
(19:45 +0000)
gcc can't handle empty unions.
lib/rfxswf.h
patch
|
blob
|
history
diff --git
a/lib/rfxswf.h
b/lib/rfxswf.h
index
377123e
..
43d4b87
100644
(file)
--- a/
lib/rfxswf.h
+++ b/
lib/rfxswf.h
@@
-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