forked from enlightenment/enlightenment
add header, fix compile warning when printing int64 (use PRIi64)
SVN revision: 49388
This commit is contained in:
parent
e266915a7b
commit
492178f1b2
|
@ -62,6 +62,7 @@ void *alloca (size_t);
|
|||
#include <libintl.h>
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#ifndef _POSIX_HOST_NAME_MAX
|
||||
#define _POSIX_HOST_NAME_MAX 255
|
||||
|
|
|
@ -640,7 +640,7 @@ _e_fm2_op_registry_entry_print(const E_Fm2_Op_Registry_Entry *ere)
|
|||
status = status_strings[0];
|
||||
|
||||
printf("id: %8d, op: %2d [%s] finished: %hhu, needs_attention: %hhu\n"
|
||||
" %3d%% (%lld/%lld), start_time: %10.0f, eta: %5ds, xwin: %#x\n"
|
||||
" %3d%% (%"PRIi64"/%"PRIi64"), start_time: %10.0f, eta: %5ds, xwin: %#x\n"
|
||||
" src=[%s]\n"
|
||||
" dst=[%s]\n",
|
||||
ere->id, ere->op, status, ere->finished, ere->needs_attention,
|
||||
|
|
Loading…
Reference in New Issue