summaryrefslogtreecommitdiff
path: root/addons/app_saycountpl.c
diff options
context:
space:
mode:
Diffstat (limited to 'addons/app_saycountpl.c')
-rw-r--r--addons/app_saycountpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/app_saycountpl.c b/addons/app_saycountpl.c
index fd921de1a..915779899 100644
--- a/addons/app_saycountpl.c
+++ b/addons/app_saycountpl.c
@@ -107,7 +107,7 @@ static int sayword_exec(struct ast_channel *chan, const char *data)
return -1;
}
- if (sscanf(args.num, "%d", &inum) != 1) {
+ if (sscanf(args.num, "%30d", &inum) != 1) {
ast_log(LOG_WARNING, "'%s' is not a valid number\n", args.num);
return -1;
}