summaryrefslogtreecommitdiffstats
path: root/src/inkview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inkview.cpp')
-rw-r--r--src/inkview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inkview.cpp b/src/inkview.cpp
index 3caed0df5..95af5b734 100644
--- a/src/inkview.cpp
+++ b/src/inkview.cpp
@@ -184,7 +184,7 @@ main (int argc, const char **argv)
switch(option) {
case 't': // for timer
// fprintf(stderr, "set timer arg %s\n", optarg );
- ss.timer = int(optarg);
+ ss.timer = atoi(optarg);
num_parsed_options += 2; // 2 because of flag + option
break;
case '?':