Compilation fix for Cygwin

This commit is contained in:
Pierre Pronchery 2011-06-01 14:08:40 +00:00
parent f730e268ab
commit d697167075

View File

@ -353,7 +353,7 @@ static int _main_call_arg(AppClientCall * calls, size_t calls_cnt,
switch(type)
{
case ACCAT_DOUBLE:
q->doble = strtold(string, NULL); /* XXX check */
q->doble = strtod(string, NULL); /* XXX check */
break;
case ACCAT_FLOAT:
q->flot = strtof(string, NULL); /* XXX check */