Skip to content

Commit

Permalink
Merge branch 'Developer' into Python3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Ev0-BH committed Jan 27, 2024
2 parents 0bb477a + a7ff313 commit 714f17d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/base/eerror.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ int formatTime(char *buf, int bufferSize, int flags)
if (debugTime & 1) {
clock_gettime(CLOCK_MONOTONIC, &tp);
/* Cast to (long long) is to cater for older 32-bit time fields */
pos += snprintf(buf, bufferSize, "<%6lld.%04lld> ", (long long)tp.tv_sec, (long long)tp.tv_nsec/100000);
pos += snprintf(buf, bufferSize, "<%6lld.%06lld> ", (long long)tp.tv_sec, (long long)tp.tv_nsec/1000);
}

if (debugTime & 2) {
Expand Down
2 changes: 1 addition & 1 deletion lib/network/socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ int eSocket::writeBlock(const char *data, unsigned int len)
// and eDebug self can cause a call of writeBlock !!
struct timespec tp = {};
clock_gettime(CLOCK_MONOTONIC, &tp);
fprintf(stderr, "<%6lu.%06lu> [eSocket] write: %m\n", tp.tv_sec, tp.tv_nsec/1000);
fprintf(stderr, "<%6lld.%06lld> [eSocket] write: %m\n", (long long)tp.tv_sec, (long long)tp.tv_nsec/1000);
}
if (tw < 0)
tw = 0;
Expand Down

0 comments on commit 714f17d

Please sign in to comment.