use proper type
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 11 Apr 2006 15:52:06 +0000 (15:52 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 11 Apr 2006 15:52:06 +0000 (15:52 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19222 65c4cc65-6c06-0410-ace0-fbb531ad65f3

translate.c

index b3af17d..92a3a97 100644 (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';