зеркало из https://github.com/nextcloud/desktop.git
csync_statedb: Fix wrong % code in debug output
%ld is for long, but int64_t is larger than long on windows
This commit is contained in:
Родитель
6e10b8c5c4
Коммит
6605a89990
|
@ -32,6 +32,7 @@
|
|||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "c_lib.h"
|
||||
#include "csync_private.h"
|
||||
|
@ -529,7 +530,7 @@ int csync_statedb_get_below_path( CSYNC *ctx, const char *path ) {
|
|||
if( rc != SQLITE_DONE ) {
|
||||
ctx->status_code = CSYNC_STATUS_TREE_ERROR;
|
||||
} else {
|
||||
CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "%ld entries read below path %s from db.", cnt, path);
|
||||
CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "%" PRId64 " entries read below path %s from db.", cnt, path);
|
||||
}
|
||||
sqlite3_finalize(stmt);
|
||||
SAFE_FREE(likepath);
|
||||
|
|
Загрузка…
Ссылка в новой задаче