Author: weiden
Date: Sat Jul 28 21:55:58 2007
New Revision: 27956
URL: http://svn.reactos.org/svn/reactos?rev=27956&view=rev
Log:
Fix return types
Modified:
trunk/reactos/lib/3rdparty/mingw/crt1.c
trunk/reactos/lib/3rdparty/mingw/wcrt1.c
Modified: trunk/reactos/lib/3rdparty/mingw/crt1.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/mingw/crt1.c?…
==============================================================================
--- trunk/reactos/lib/3rdparty/mingw/crt1.c (original)
+++ trunk/reactos/lib/3rdparty/mingw/crt1.c Sat Jul 28 21:55:58 2007
@@ -98,11 +98,11 @@
/* This function will be called when a trap occurs. Thanks to Jacob
Navia for his contribution. */
-static CALLBACK long
+static LONG CALLBACK
_gnu_exception_handler (EXCEPTION_POINTERS * exception_data)
{
void (*old_handler) (int);
- long action = EXCEPTION_CONTINUE_SEARCH;
+ LONG action = EXCEPTION_CONTINUE_SEARCH;
int reset_fpu = 0;
switch (exception_data->ExceptionRecord->ExceptionCode)
Modified: trunk/reactos/lib/3rdparty/mingw/wcrt1.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/mingw/wcrt1.c…
==============================================================================
--- trunk/reactos/lib/3rdparty/mingw/wcrt1.c (original)
+++ trunk/reactos/lib/3rdparty/mingw/wcrt1.c Sat Jul 28 21:55:58 2007
@@ -99,11 +99,11 @@
/* This function will be called when a trap occurs. Thanks to Jacob
Navia for his contribution. */
-static CALLBACK long
+static LONG CALLBACK
_gnu_exception_handler (EXCEPTION_POINTERS * exception_data)
{
void (*old_handler) (int);
- long action = EXCEPTION_CONTINUE_SEARCH;
+ LONG action = EXCEPTION_CONTINUE_SEARCH;
int reset_fpu = 0;
switch (exception_data->ExceptionRecord->ExceptionCode)