mirror of
https://github.com/reactos/reactos.git
synced 2025-01-12 09:07:54 +00:00
Don't use non-portable %zd format. Instead, use %d and cast the variable to an int to ensure printf can read the argument properly
svn path=/trunk/; revision=41889
This commit is contained in:
parent
8022a4015e
commit
038d68b156
1 changed files with 6 additions and 6 deletions
|
@ -499,8 +499,8 @@ MingwBackend::GenerateGlobalVariables () const
|
|||
if ( ModuleHandlerInformations[i].cflags && ModuleHandlerInformations[i].cflags[0] )
|
||||
{
|
||||
fprintf ( fMakefile,
|
||||
"MODULETYPE%zd_%sFLAGS:=%s\n",
|
||||
i,
|
||||
"MODULETYPE%d_%sFLAGS:=%s\n",
|
||||
(int)i,
|
||||
"C",
|
||||
ModuleHandlerInformations[i].cflags );
|
||||
}
|
||||
|
@ -508,8 +508,8 @@ MingwBackend::GenerateGlobalVariables () const
|
|||
if ( ModuleHandlerInformations[i].cflags && ModuleHandlerInformations[i].cflags[0] )
|
||||
{
|
||||
fprintf ( fMakefile,
|
||||
"MODULETYPE%zd_%sFLAGS:=%s\n",
|
||||
i,
|
||||
"MODULETYPE%d_%sFLAGS:=%s\n",
|
||||
(int)i,
|
||||
"CXX",
|
||||
ModuleHandlerInformations[i].cflags );
|
||||
}
|
||||
|
@ -517,8 +517,8 @@ MingwBackend::GenerateGlobalVariables () const
|
|||
if ( ModuleHandlerInformations[i].nasmflags && ModuleHandlerInformations[i].nasmflags[0] )
|
||||
{
|
||||
fprintf ( fMakefile,
|
||||
"MODULETYPE%zd_%sFLAGS:=%s\n",
|
||||
i,
|
||||
"MODULETYPE%d_%sFLAGS:=%s\n",
|
||||
(int)i,
|
||||
"NASM",
|
||||
ModuleHandlerInformations[i].nasmflags );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue