diff options
Diffstat (limited to 'src/openvpn/shaper.h')
-rw-r--r-- | src/openvpn/shaper.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/openvpn/shaper.h b/src/openvpn/shaper.h index 0496c71..bcdb5e3 100644 --- a/src/openvpn/shaper.h +++ b/src/openvpn/shaper.h @@ -147,11 +147,11 @@ shaper_wrote_bytes(struct shaper *s, int nbytes) tv_add(&s->wakeup, &tv); #ifdef SHAPER_DEBUG - dmsg(D_SHAPER_DEBUG, "SHAPER shaper_wrote_bytes bytes=%d delay=%d sec=%d usec=%d", + dmsg(D_SHAPER_DEBUG, "SHAPER shaper_wrote_bytes bytes=%d delay=%ld sec=%" PRIi64 " usec=%ld", nbytes, - (int)tv.tv_usec, - (int)s->wakeup.tv_sec, - (int)s->wakeup.tv_usec); + (long)tv.tv_usec, + (int64_t)s->wakeup.tv_sec, + (long)s->wakeup.tv_usec); #endif } } |