use proper type

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-04-11 15:52:06 +00:00
parent d2480538d2
commit 63de32ac00

View File

@@ -486,7 +486,7 @@ static int show_translation(int fd, int argc, char *argv[])
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';