From: sandeep Date: Tue, 22 Feb 2000 20:19:41 +0000 (+0000) Subject: conversion fromto float needs only one parm X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=be95b5fadfe984efe53c7ac8954b105c8104d66e;p=fw%2Fsdcc conversion fromto float needs only one parm git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@117 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCCsymt.c b/src/SDCCsymt.c index 688e8966..54c4616b 100644 --- a/src/SDCCsymt.c +++ b/src/SDCCsymt.c @@ -1907,11 +1907,11 @@ void initCSupport () for (su = 0; su < 2; su++) { if (tofrom) { sprintf(buffer, "__fs2%s%s", ssu[su], sbwd[bwd]); - __conv[tofrom][bwd][su] = funcOfType(buffer, __multypes[bwd][su], floatType, 2, options.float_rent); + __conv[tofrom][bwd][su] = funcOfType(buffer, __multypes[bwd][su], floatType, 1, options.float_rent); } else { sprintf(buffer, "__%s%s2fs", ssu[su], sbwd[bwd]); - __conv[tofrom][bwd][su] = funcOfType(buffer, floatType, __multypes[bwd][su], 2, options.float_rent); + __conv[tofrom][bwd][su] = funcOfType(buffer, floatType, __multypes[bwd][su], 1, options.float_rent); } } }