aboutsummaryrefslogtreecommitdiffstats
path: root/rtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'rtp.c')
-rwxr-xr-xrtp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/rtp.c b/rtp.c
index 037b123a3..6ca1f916c 100755
--- a/rtp.c
+++ b/rtp.c
@@ -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;