mirror of
https://github.com/reactos/reactos.git
synced 2024-09-27 21:16:34 +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)
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue