Cosmetic: Fixed compiler warning
authorshort <>
Thu, 13 Feb 2003 09:51:40 +0000 (09:51 +0000)
committershort <>
Thu, 13 Feb 2003 09:51:40 +0000 (09:51 +0000)
branch update for HEAD-2003021201

src/libcaptive/ldr/loader.c

index 863c0f1..aa69dd9 100644 (file)
@@ -33,7 +33,7 @@
 #include <sys/mman.h>  /* for PROT_READ, MAP_SHARED */
 #include "captive/macros.h"
 #include <stdarg.h>
-#include "reactos/ddk/rtl.h"   /* for InsertTailList() */
+#include "reactos/ntos/rtl.h"  /* for InsertTailList() */
 #include "reactos/internal/debug.h"    /* for assert() */
 #include <glib/gutils.h>       /* for g_path_get_basename() */
 #include <gmodule.h>
@@ -159,7 +159,7 @@ UNICODE_STRING *Filename_bslash;
                /* examine/relocate the module */
                err=LdrProcessModule(ModuleLoadBase,Filename_bslash,&Module);
                if (!NT_SUCCESS(err)) {
-                       g_error("LdrLoadModule(): LdrProcessModule()=0x%08lX",err);
+                       g_error("LdrLoadModule(): LdrProcessModule()=0x%08lX",(gulong)err);
                        goto err_captive_rtl_file_munmap;
                        }
                }