diff options
author | Mark Spencer <markster@digium.com> | 2005-03-17 23:12:15 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-03-17 23:12:15 +0000 |
commit | f9cfe6031288acf02cbdf95d370ecb38f5a929dc (patch) | |
tree | 3fa0c3a5fb61e3662f4353566a235dca4291f79a /rtp.c | |
parent | 4c4264a448a4096be209649e170759fd0dde9ba4 (diff) |
Add support for Solaris/x86 (bug #3064)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rtp.c')
-rwxr-xr-x | rtp.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1170,11 +1170,9 @@ int ast_rtp_sendcng(struct ast_rtp *rtp, int level) return 0; } -#ifdef SOLARIS +#if defined(SOLARIS) && defined(__sparc__) static void put_uint32(unsigned char *buf, int i) { - unsigned char *c = (unsigned char *)&i; - buf[0] = (i>>24) & 0xff; buf[1] = (i>>16) & 0xff; buf[2] = (i>>8) & 0xff; |