[asterisk-commits] dvossel: branch 1.8 r282543 - /branches/1.8/include/asterisk/unaligned.h
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Aug 17 14:34:10 CDT 2010
Author: dvossel
Date: Tue Aug 17 14:34:06 2010
New Revision: 282543
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=282543
Log:
fixes truncated uint64_t value in put_unaligned_uint64_t() function
(issue #17804)
Modified:
branches/1.8/include/asterisk/unaligned.h
Modified: branches/1.8/include/asterisk/unaligned.h
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/include/asterisk/unaligned.h?view=diff&rev=282543&r1=282542&r2=282543
==============================================================================
--- branches/1.8/include/asterisk/unaligned.h (original)
+++ branches/1.8/include/asterisk/unaligned.h Tue Aug 17 14:34:06 2010
@@ -50,7 +50,7 @@
static inline void put_unaligned_uint64(void *p, uint64_t datum)
{
- struct { unsigned int d; } __attribute__((packed,may_alias)) *pp = p;
+ struct { uint64_t d; } __attribute__((packed,may_alias)) *pp = p;
pp->d = datum;
}
More information about the asterisk-commits
mailing list