[asterisk-commits] kpfleming: branch kpfleming/aligner2 r154426 - /team/kpfleming/aligner2/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 4 16:42:31 CST 2008


Author: kpfleming
Date: Tue Nov  4 16:42:30 2008
New Revision: 154426

URL: http://svn.digium.com/view/asterisk?view=rev&rev=154426
Log:
another attempt to make GCC on SPARC happy

Modified:
    team/kpfleming/aligner2/main/translate.c

Modified: team/kpfleming/aligner2/main/translate.c
URL: http://svn.digium.com/view/asterisk/team/kpfleming/aligner2/main/translate.c?view=diff&rev=154426&r1=154425&r2=154426
==============================================================================
--- team/kpfleming/aligner2/main/translate.c (original)
+++ team/kpfleming/aligner2/main/translate.c Tue Nov  4 16:42:30 2008
@@ -979,7 +979,7 @@
 
 	ast_clear_flag(fr, AST_FRFLAG_FROM_TRANSLATOR);
 
-	pvt = (struct ast_trans_pvt *) (((char *) fr) - offsetof(struct ast_trans_pvt, f));
+	pvt = (struct ast_trans_pvt *) (((void *) fr) - offsetof(struct ast_trans_pvt, f));
 
 	if (pvt->datalen != -1)
 		return;




More information about the asterisk-commits mailing list