diff options
author | Corentin Chary <corentincj@iksaif.net> | 2010-05-03 14:31:18 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-05-03 12:09:22 -0500 |
commit | bc47d201d6868a6ad51a5d2f7f946d0e6b33c5ab (patch) | |
tree | df2f6b1c71edfc35253227af583fc4eecea48ff2 /vnc-auth-sasl.c | |
parent | 72375c2290ef696f49b4fe81da55b8761608f524 (diff) |
vnc: Fix compile error on x86_64 with -D_VNC_DEBUG=1
cc1: warnings being treated as errors
vnc-auth-sasl.c: In function ‘vnc_client_write_sasl’:
vnc-auth-sasl.c:50: error: format ‘%d’ expects type ‘int’, but argument 4 has type ‘size_t’
vnc-auth-sasl.c:50: error: format ‘%d’ expects type ‘int’, but argument 5 has type ‘size_t’
make: *** [vnc-auth-sasl.o] Error 1
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vnc-auth-sasl.c')
-rw-r--r-- | vnc-auth-sasl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vnc-auth-sasl.c b/vnc-auth-sasl.c index acaac0cc4c..a51ddc8a18 100644 --- a/vnc-auth-sasl.c +++ b/vnc-auth-sasl.c @@ -47,7 +47,8 @@ long vnc_client_write_sasl(VncState *vs) { long ret; - VNC_DEBUG("Write SASL: Pending output %p size %d offset %d Encoded: %p size %d offset %d\n", + VNC_DEBUG("Write SASL: Pending output %p size %zd offset %zd " + "Encoded: %p size %d offset %d\n", vs->output.buffer, vs->output.capacity, vs->output.offset, vs->sasl.encoded, vs->sasl.encodedLength, vs->sasl.encodedOffset); |