]> source.dussan.org Git - tigervnc.git/commit
rfb: vsnprintf returns an int, not size_t
authorSteve Kondik <shade@chemlab.org>
Sat, 8 Jul 2017 09:08:43 +0000 (02:08 -0700)
committerSteve Kondik <shade@chemlab.org>
Mon, 10 Jul 2017 16:14:43 +0000 (09:14 -0700)
commitb3c9f7ba52dd3f832ac392e444d508ef5b6be6d8
treeeb81bbc7db3bf6c72481df3e7925fdb50dfa84be
parent5ec2d09b84d8ea77c67ac0b9ea44c0590d252ad3
rfb: vsnprintf returns an int, not size_t

Fixes:

/home/shade/dev/tigervnc/common/rfb/util.cxx:55:13: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
    if (len < 0) {
        ~~~ ^ ~
1 error generated.
common/rfb/util.cxx