Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-14174

ntoskrnl: Fix DPRINT format specifier in kdbg.c

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.7, 0.4.8
    • None
    • None

    Description

      I #undef'ed NDEBUG in File "ntoskrnl/kd/i386/kdbg.c", then my compiler complainted as follows:

      ../ntoskrnl/kd/i386/kdbg.c: In function 'KdPortInitializeEx':
      ../ntoskrnl/kd/i386/kdbg.c:117:17: error: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'PUCHAR' [-Werror=format]
      cc1.exe: all warnings being treated as errors
      [254/537] Building C object ntoskrnl/n...les/ntkrnlmp.dir/__/mm/i386/page.c.obj
      ninja: build stopped: subcommand failed.

      I created a Pull Request to fix this issue.
      https://github.com/reactos/reactos/pull/263

      Attachments

        Activity

          People

            ThFabba ThFabba
            katayama_hirofumi_mz Katayama Hirofumi MZ
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: