commit | 7f112daa0e3fb98fc1518a80114f8856fd60015e | [log] [tgz] |
---|---|---|
author | Daniel Lezcano <daniel.lezcano@free.fr> | Wed Mar 23 14:37:32 2011 +0100 |
committer | Amit Kucheria <amit.kucheria@linaro.org> | Thu Mar 24 23:01:31 2011 +0200 |
tree | 4a40edfbe0408033e774fccde33ac6fc6c3bcb0b | |
parent | 9420fde9c373acdd3c5667b0efcfe0b47191bb6e [diff] [blame] |
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;