Author: jgardou
Date: Tue Sep 9 17:39:01 2014
New Revision: 64093
URL:
http://svn.reactos.org/svn/reactos?rev=64093&view=rev
Log:
[SPEC2DEF]
- Fix GCC warning (weird doubled arguments for fprintf format)
Modified:
trunk/reactos/tools/spec2def/spec2def.c
Modified: trunk/reactos/tools/spec2def/spec2def.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/spec2def/spec2def.c?…
==============================================================================
--- trunk/reactos/tools/spec2def/spec2def.c [iso-8859-1] (original)
+++ trunk/reactos/tools/spec2def/spec2def.c [iso-8859-1] Tue Sep 9 17:39:01 2014
@@ -305,32 +305,27 @@
else if (giArch != ARCH_X86)
{
sprintf(szNameBuffer, "_stub_%.*s",
- pexp->strName.len, pexp->strName.buf,
pexp->strName.len, pexp->strName.buf);
}
else if (pexp->nCallingConvention == CC_STDCALL)
{
sprintf(szNameBuffer, "__stub_%.*s@%d",
- pexp->strName.len, pexp->strName.buf, pexp->nStackBytes,
pexp->strName.len, pexp->strName.buf, pexp->nStackBytes);
}
else if (pexp->nCallingConvention == CC_FASTCALL)
{
sprintf(szNameBuffer, "@_stub_%.*s@%d",
- pexp->strName.len, pexp->strName.buf, pexp->nStackBytes,
pexp->strName.len, pexp->strName.buf, pexp->nStackBytes);
}
else if (pexp->nCallingConvention == CC_CDECL ||
pexp->nCallingConvention == CC_STUB)
{
sprintf(szNameBuffer, "__stub_%.*s",
- pexp->strName.len, pexp->strName.buf,
pexp->strName.len, pexp->strName.buf);
}
else if (pexp->nCallingConvention == CC_EXTERN)
{
sprintf(szNameBuffer, "__stub_%.*s",
- pexp->strName.len, pexp->strName.buf,
pexp->strName.len, pexp->strName.buf);
}