main/rtp_engine: Format NTP timestamps as unsigned ints
authorMatthew Jordan <mjordan@digium.com>
Sat, 6 Sep 2014 22:22:34 +0000 (22:22 +0000)
committerMatthew Jordan <mjordan@digium.com>
Sat, 6 Sep 2014 22:22:34 +0000 (22:22 +0000)
commite4591f98b1235789c7341abb26ec52dd79d6090f
treebbb11bf7c719235086323f7488526692edaf9ce5
parentfd8010de2b0e735aff8f36c94f05e831cb38836b
main/rtp_engine: Format NTP timestamps as unsigned ints

On some systems, a timeval's tv_sec/tv_usec will be unsigned lont ints, as
opposed to long ints. When the RTP engine formats these as strings, it was
previously formatting them as signed integers, which can result in some
odd negative timestamp values (particularly on 32-bit systems). This patch
formats the values as unsigned long integers.
........

Merged revisions 422766 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 422767 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@422768 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/rtp_engine.c