From d01c257665b846ced89d84099013f1b2d27791c7 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 8 Aug 2013 14:05:45 +0300 Subject: [PATCH] tools/scotest: Fix supporting hex voice setting values --- tools/scotest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/scotest.c b/tools/scotest.c index 1d46f1b2f..69150b192 100644 --- a/tools/scotest.c +++ b/tools/scotest.c @@ -458,7 +458,7 @@ int main(int argc ,char *argv[]) break; case 'V': - voice = atoi(optarg); + voice = strtol(optarg, NULL, 0); break; default: -- 2.47.3