Use correct printf qualifiers.

This commit is contained in:
Klaas Freitag 2013-04-03 16:37:55 +02:00
parent 34668e42b3
commit c745bf4291

View file

@ -2076,8 +2076,8 @@ static int owncloud_utimes(const char *uri, const struct timeval *times) {
newmodtime = modtime->tv_sec;
DEBUG_WEBDAV("Add a time delta to modtime %lu: %llu",
modtime->tv_sec, (unsigned long long) dav_session.time_delta);
DEBUG_WEBDAV("Add a time delta to modtime %lu: %ld",
modtime->tv_sec, (long) dav_session.time_delta);
newmodtime += dav_session.time_delta;
snprintf( val, sizeof(val), "%ld", newmodtime );