aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2010-11-03 21:37:45 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2010-11-03 21:37:45 +0000
commit1d1a2b7f9ccd2bd6975d5a30557d0be284b18314 (patch)
treedee9dedb4d7f6f385f960485f39b40b2e4912fe5
parent19c6b618afc80e4d75bb647feb7764170a54167d (diff)
changed long to int in the tag struct, as longs are 8 bytes in 64-bit
architectures. svn path=/trunk/externals/mrpeach/; revision=14261
-rw-r--r--net/udpsend~.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/udpsend~.h b/net/udpsend~.h
index 386b363..927dc48 100644
--- a/net/udpsend~.h
+++ b/net/udpsend~.h
@@ -84,12 +84,12 @@ typedef union _flint
typedef struct _tag
{ /* size (bytes) */
- char tag[4]; /* 4 */ /*"TAG!"*/
- char format; /* 1 */
- long count; /* 4 */
- char channels; /* 1 */
- long framesize; /* 4 */
- char reserved[2]; /* 2 */ /* pad to 16 bytes */
+ char tag[4]; /* 4 */ /*"TAG!"*/
+ char format; /* 1 */
+ int count; /* 4 */
+ char channels; /* 1 */
+ int framesize; /* 4 */
+ char reserved[2]; /* 2 */ /* pad to 16 bytes */
} t_tag; /*-----*/
/* 16 */