[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/libamf amf.cpp
From: |
Rob Savoye |
Subject: |
[Gnash-commit] gnash/libamf amf.cpp |
Date: |
Mon, 31 Dec 2007 02:45:29 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Rob Savoye <rsavoye> 07/12/31 02:45:29
Modified files:
libamf : amf.cpp
Log message:
Fix bogus cast for bool.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libamf/amf.cpp?cvsroot=gnash&r1=1.52&r2=1.53
Patches:
Index: amf.cpp
===================================================================
RCS file: /sources/gnash/gnash/libamf/amf.cpp,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- amf.cpp 31 Dec 2007 00:26:48 -0000 1.52
+++ amf.cpp 31 Dec 2007 02:45:28 -0000 1.53
@@ -332,7 +332,7 @@
memset(x, 0, pktsize);
// Encode a boolean value. 0 for false, 1 for true
*x++ = (char)Element::BOOLEAN;
- *x = *reinterpret_cast<boost::uint8_t *>(flag);
+ *x = flag;
swapBytes(x, 2);
x += sizeof(boost::uint16_t);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash/libamf amf.cpp,
Rob Savoye <=