mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 05:26:58 +00:00
[SPEC2DEF]
- Fix GCC warning (weird doubled arguments for fprintf format) svn path=/trunk/; revision=64093
This commit is contained in:
parent
4810b26797
commit
1fdfbceee5
|
@ -305,32 +305,27 @@ OutputLine_asmstub(FILE *fileDest, EXPORT *pexp)
|
||||||
else if (giArch != ARCH_X86)
|
else if (giArch != ARCH_X86)
|
||||||
{
|
{
|
||||||
sprintf(szNameBuffer, "_stub_%.*s",
|
sprintf(szNameBuffer, "_stub_%.*s",
|
||||||
pexp->strName.len, pexp->strName.buf,
|
|
||||||
pexp->strName.len, pexp->strName.buf);
|
pexp->strName.len, pexp->strName.buf);
|
||||||
}
|
}
|
||||||
else if (pexp->nCallingConvention == CC_STDCALL)
|
else if (pexp->nCallingConvention == CC_STDCALL)
|
||||||
{
|
{
|
||||||
sprintf(szNameBuffer, "__stub_%.*s@%d",
|
sprintf(szNameBuffer, "__stub_%.*s@%d",
|
||||||
pexp->strName.len, pexp->strName.buf, pexp->nStackBytes,
|
|
||||||
pexp->strName.len, pexp->strName.buf, pexp->nStackBytes);
|
pexp->strName.len, pexp->strName.buf, pexp->nStackBytes);
|
||||||
}
|
}
|
||||||
else if (pexp->nCallingConvention == CC_FASTCALL)
|
else if (pexp->nCallingConvention == CC_FASTCALL)
|
||||||
{
|
{
|
||||||
sprintf(szNameBuffer, "@_stub_%.*s@%d",
|
sprintf(szNameBuffer, "@_stub_%.*s@%d",
|
||||||
pexp->strName.len, pexp->strName.buf, pexp->nStackBytes,
|
|
||||||
pexp->strName.len, pexp->strName.buf, pexp->nStackBytes);
|
pexp->strName.len, pexp->strName.buf, pexp->nStackBytes);
|
||||||
}
|
}
|
||||||
else if (pexp->nCallingConvention == CC_CDECL ||
|
else if (pexp->nCallingConvention == CC_CDECL ||
|
||||||
pexp->nCallingConvention == CC_STUB)
|
pexp->nCallingConvention == CC_STUB)
|
||||||
{
|
{
|
||||||
sprintf(szNameBuffer, "__stub_%.*s",
|
sprintf(szNameBuffer, "__stub_%.*s",
|
||||||
pexp->strName.len, pexp->strName.buf,
|
|
||||||
pexp->strName.len, pexp->strName.buf);
|
pexp->strName.len, pexp->strName.buf);
|
||||||
}
|
}
|
||||||
else if (pexp->nCallingConvention == CC_EXTERN)
|
else if (pexp->nCallingConvention == CC_EXTERN)
|
||||||
{
|
{
|
||||||
sprintf(szNameBuffer, "__stub_%.*s",
|
sprintf(szNameBuffer, "__stub_%.*s",
|
||||||
pexp->strName.len, pexp->strName.buf,
|
|
||||||
pexp->strName.len, pexp->strName.buf);
|
pexp->strName.len, pexp->strName.buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue