mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-15 17:27:02 +00:00
use proper type
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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';
|
||||
|
Reference in New Issue
Block a user