aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/util.h')
-rw-r--r--common/rfb/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/util.h b/common/rfb/util.h
index 8503519d..3100f90f 100644
--- a/common/rfb/util.h
+++ b/common/rfb/util.h
@@ -50,7 +50,7 @@ namespace rfb {
public:
CharArray() : buf(0) {}
CharArray(char* str) : buf(str) {} // note: assumes ownership
- CharArray(int len) {
+ CharArray(size_t len) {
buf = new char[len]();
}
~CharArray() {