Commit 01ac4158 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

COMP: Remove warning about argument not being int

parent 2804a0d7
...@@ -163,7 +163,7 @@ oct_to_int(char *oct) ...@@ -163,7 +163,7 @@ oct_to_int(char *oct)
void void
int_to_oct_nonull(int num, char *oct, size_t octlen) int_to_oct_nonull(int num, char *oct, size_t octlen)
{ {
snprintf(oct, octlen, "%*lo", octlen - 1, (unsigned long)num); snprintf(oct, octlen, "%*lo", (int)(octlen-1), (unsigned long)num);
oct[octlen - 1] = ' '; oct[octlen - 1] = ' ';
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment