use an int instead of a double

Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
diff --git a/powerdebug.c b/powerdebug.c
index 9f36b63..22f36f8 100644
--- a/powerdebug.c
+++ b/powerdebug.c
@@ -125,7 +125,7 @@
 			}
 			break;
 		case 't':
-			options->ticktime = strtod(optarg, NULL);
+			options->ticktime = atoi(optarg);
 			break;
 		case 'd':
 			dump = 1;