diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/interface.c | 4 | ||||
-rw-r--r-- | src/playerData.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/interface.c b/src/interface.c index 0381404bf..3f803d057 100644 --- a/src/interface.c +++ b/src/interface.c @@ -332,10 +332,10 @@ static int processLineOfInput(Interface * interface) ERROR("interface %i: command " "list size (%i) is " "larger than the max " - "(%i)\n", + "(%li)\n", interface->num, interface->cmd_list_size, - interface_max_command_list_size); + (long)interface_max_command_list_size); closeInterface(interface); ret = COMMAND_RETURN_CLOSE; } else diff --git a/src/playerData.c b/src/playerData.c index 3feb46e45..3edb6b2e3 100644 --- a/src/playerData.c +++ b/src/playerData.c @@ -64,7 +64,7 @@ void initPlayerData(void) buffered_chunks = bufferSize / CHUNK_SIZE; if (buffered_chunks >= 1 << 15) { - ERROR("buffer size \"%i\" is too big\n", bufferSize); + ERROR("buffer size \"%li\" is too big\n", (long)bufferSize); exit(EXIT_FAILURE); } |