mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[UDFS] Fix build with lower optimization level
This commit is contained in:
parent
2c2114d9d8
commit
612b1f2e6e
1 changed files with 9 additions and 0 deletions
|
@ -221,6 +221,12 @@ VOID inline MyFreePool__(PVOID addr) {
|
||||||
|
|
||||||
#endif //MY_MEM_BOUNDS_CHECK
|
#endif //MY_MEM_BOUNDS_CHECK
|
||||||
|
|
||||||
|
/* This function just scares the hell out of GCC */
|
||||||
|
#ifdef __GNUC__
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wstringop-overflow"
|
||||||
|
#endif
|
||||||
|
|
||||||
ULONG inline MyReallocPool__(PCHAR addr, ULONG len, PCHAR *pnewaddr, ULONG newlen) {
|
ULONG inline MyReallocPool__(PCHAR addr, ULONG len, PCHAR *pnewaddr, ULONG newlen) {
|
||||||
ULONG _len, _newlen;
|
ULONG _len, _newlen;
|
||||||
_newlen = MyAlignSize__(newlen);
|
_newlen = MyAlignSize__(newlen);
|
||||||
|
@ -292,6 +298,9 @@ ULONG inline MyReallocPool__(PCHAR addr, ULONG len, PCHAR *pnewaddr, ULONG newle
|
||||||
*/
|
*/
|
||||||
return newlen;
|
return newlen;
|
||||||
}
|
}
|
||||||
|
#ifdef __GNUC__
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef MY_USE_ALIGN
|
#ifndef MY_USE_ALIGN
|
||||||
#undef MyAlignSize__
|
#undef MyAlignSize__
|
||||||
|
|
Loading…
Reference in a new issue