From 0ca5922274f96054194926616c1cabd476ef379b Mon Sep 17 00:00:00 2001 From: aet Date: Tue, 12 Nov 2002 14:32:17 +0000 Subject: [PATCH] Merge with dvbsak.sf.net git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@715 c6295689-39f2-0310-b995-f0e70906c6a9 --- src/scconf/scconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scconf/scconf.c b/src/scconf/scconf.c index cdc89b63..94ecf8fb 100644 --- a/src/scconf/scconf.c +++ b/src/scconf/scconf.c @@ -146,7 +146,7 @@ int scconf_get_int(const scconf_block * block, const char *option, int def) const scconf_list *list; list = scconf_find_list(block, option); - return !list ? def : atoi(list->data); + return !list ? def : strtol(list->data, NULL, 0); } int scconf_get_bool(const scconf_block * block, const char *option, int def)