From: dwyip Date: Sat, 15 Jul 2006 22:15:26 +0000 (+0000) Subject: use atoi for char* -> int conversion X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2e8c1dd5a38efda364e76dce3be21f49afec6cc7;p=inkscape.git use atoi for char* -> int conversion --- 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 '?':