Archived
14
0
Fork 0

use proper type

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19222 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
kpfleming 2006-04-11 15:52:06 +00:00
parent b53f772681
commit 7b0f075035

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';