mirror of
https://github.com/reactos/CMake.git
synced 2024-12-03 00:57:25 +00:00
COMP: Remove warning about argument not being int
This commit is contained in:
parent
2804a0d7db
commit
01ac4158ed
@ -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] = ' ';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user