[asterisk-commits] dvossel: trunk r282544 - in /trunk: ./ include/asterisk/unaligned.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Aug 17 14:34:55 CDT 2010


Author: dvossel
Date: Tue Aug 17 14:34:52 2010
New Revision: 282544

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=282544
Log:
Merged revisions 282543 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r282543 | dvossel | 2010-08-17 14:34:06 -0500 (Tue, 17 Aug 2010) | 4 lines
  
  fixes truncated uint64_t value in put_unaligned_uint64_t() function
  
  (issue #17804)
........

Modified:
    trunk/   (props changed)
    trunk/include/asterisk/unaligned.h

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: trunk/include/asterisk/unaligned.h
URL: http://svnview.digium.com/svn/asterisk/trunk/include/asterisk/unaligned.h?view=diff&rev=282544&r1=282543&r2=282544
==============================================================================
--- trunk/include/asterisk/unaligned.h (original)
+++ trunk/include/asterisk/unaligned.h Tue Aug 17 14:34:52 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