[asterisk-commits] trunk r19222 - /trunk/translate.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Apr 11 08:52:06 MST 2006


Author: kpfleming
Date: Tue Apr 11 10:52:06 2006
New Revision: 19222

URL: http://svn.digium.com/view/asterisk?rev=19222&view=rev
Log:
use proper type

Modified:
    trunk/translate.c

Modified: trunk/translate.c
URL: http://svn.digium.com/view/asterisk/trunk/translate.c?rev=19222&r1=19221&r2=19222&view=diff
==============================================================================
--- trunk/translate.c (original)
+++ trunk/translate.c Tue Apr 11 10:52:06 2006
@@ -486,7 +486,7 @@
 	for (x = -1; x < SHOW_TRANS; x++) {
 		char line[80];
 		char *buf = line;
-		int left = sizeof(line) - 1;	/* one initial space */
+		size_t left = sizeof(line) - 1;	/* one initial space */
 		/* next 2 lines run faster than using ast_build_string() */
 		*buf++ = ' ';
 		*buf = '\0';



More information about the asterisk-commits mailing list