aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2018-05-29 16:46:19 +0200
committerPierre Ossman <ossman@cendio.se>2018-05-29 16:50:55 +0200
commitfe2e5fca2135acec490dc7284cfbca86ebe2610b (patch)
tree44b890e6ce88f735c47740a4640b34ce687066ad /common/rfb
parentcb99be55d818a73be7dea51a2de4c5c16d0439a9 (diff)
parent39594b801dc041d40b1348bf2efcf6f64215cd60 (diff)
downloadtigervnc-fe2e5fca2135acec490dc7284cfbca86ebe2610b.tar.gz
tigervnc-fe2e5fca2135acec490dc7284cfbca86ebe2610b.zip
Merge branch 'unix' of https://github.com/CendioOssman/tigervnc
Diffstat (limited to 'common/rfb')
-rw-r--r--common/rfb/Configuration.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/Configuration.cxx b/common/rfb/Configuration.cxx
index 418a0c93..619c4d5a 100644
--- a/common/rfb/Configuration.cxx
+++ b/common/rfb/Configuration.cxx
@@ -338,7 +338,7 @@ bool
IntParameter::setParam(const char* v) {
if (immutable) return true;
vlog.debug("set %s(Int) to %s", getName(), v);
- int i = atoi(v);
+ int i = strtol(v, NULL, 0);
if (i < minValue || i > maxValue)
return false;
value = i;