mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 18:56:48 +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] )
|
if ( ModuleHandlerInformations[i].cflags && ModuleHandlerInformations[i].cflags[0] )
|
||||||
{
|
{
|
||||||
fprintf ( fMakefile,
|
fprintf ( fMakefile,
|
||||||
"MODULETYPE%zd_%sFLAGS:=%s\n",
|
"MODULETYPE%d_%sFLAGS:=%s\n",
|
||||||
i,
|
(int)i,
|
||||||
"C",
|
"C",
|
||||||
ModuleHandlerInformations[i].cflags );
|
ModuleHandlerInformations[i].cflags );
|
||||||
}
|
}
|
||||||
|
@ -508,8 +508,8 @@ MingwBackend::GenerateGlobalVariables () const
|
||||||
if ( ModuleHandlerInformations[i].cflags && ModuleHandlerInformations[i].cflags[0] )
|
if ( ModuleHandlerInformations[i].cflags && ModuleHandlerInformations[i].cflags[0] )
|
||||||
{
|
{
|
||||||
fprintf ( fMakefile,
|
fprintf ( fMakefile,
|
||||||
"MODULETYPE%zd_%sFLAGS:=%s\n",
|
"MODULETYPE%d_%sFLAGS:=%s\n",
|
||||||
i,
|
(int)i,
|
||||||
"CXX",
|
"CXX",
|
||||||
ModuleHandlerInformations[i].cflags );
|
ModuleHandlerInformations[i].cflags );
|
||||||
}
|
}
|
||||||
|
@ -517,8 +517,8 @@ MingwBackend::GenerateGlobalVariables () const
|
||||||
if ( ModuleHandlerInformations[i].nasmflags && ModuleHandlerInformations[i].nasmflags[0] )
|
if ( ModuleHandlerInformations[i].nasmflags && ModuleHandlerInformations[i].nasmflags[0] )
|
||||||
{
|
{
|
||||||
fprintf ( fMakefile,
|
fprintf ( fMakefile,
|
||||||
"MODULETYPE%zd_%sFLAGS:=%s\n",
|
"MODULETYPE%d_%sFLAGS:=%s\n",
|
||||||
i,
|
(int)i,
|
||||||
"NASM",
|
"NASM",
|
||||||
ModuleHandlerInformations[i].nasmflags );
|
ModuleHandlerInformations[i].nasmflags );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue