- Use MAXUINT, MAXULONG, MAXDWORD, MAXULONGLONG and MAXULONGLONG instead of ~0 or...
authorStefan Ginsberg <stefanginsberg@gmail.com>
Sun, 27 Sep 2009 20:07:43 +0000 (20:07 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Sun, 27 Sep 2009 20:07:43 +0000 (20:07 +0000)
commite7e6699ae1fc3075cb20cab3918d4b050e96d978
treec3ea09edba4da879c10fd1cc6b1961e6c9f8b0e1
parentd9fe1b85792b29d95cf121f097d75b70090ff0e8
- Use MAXUINT, MAXULONG, MAXDWORD, MAXULONGLONG and MAXULONGLONG instead of ~0 or casting -1 to unsigned.
- bintype.c: Use INVALID_SET_FILE_POINTER instead of (DWORD)-1.
- irp.c: KsGetNodeIdFromIrp returns KSFILTER_NODE (which is -1).
- basetsd.h: Add missing MAXUINT and MAXULONGLONG.
- typedefs.h: Add MAXULONG for mkhive.
- elf.inc.h and pe.c: Remove incorrect and unneeded MAXULONG define.

svn path=/trunk/; revision=43192
46 files changed:
reactos/boot/freeldr/freeldr/arch/powerpc/mboot.c
reactos/boot/freeldr/freeldr/debug.c
reactos/boot/freeldr/freeldr/fs/ntfs.c
reactos/boot/freeldr/freeldr/reactos/imageldr.c
reactos/dll/cpl/console/colors.c
reactos/dll/cpl/console/layout.c
reactos/dll/cpl/main/mouse.c
reactos/dll/win32/kernel32/debug/debugger.c
reactos/dll/win32/kernel32/file/bintype.c
reactos/dll/win32/kernel32/file/file.c
reactos/dll/win32/kernel32/misc/error.c
reactos/dll/win32/opengl32/opengl32.c
reactos/drivers/bus/pci/pdo.c
reactos/drivers/filesystems/msfs/finfo.c
reactos/drivers/ksfilter/ks/allocators.c
reactos/drivers/ksfilter/ks/irp.c
reactos/drivers/ksfilter/ks/topology.c
reactos/drivers/serial/serial/serial.h
reactos/drivers/wdm/audio/drivers/CMIDriver/mintopo.cpp
reactos/drivers/wdm/audio/filters/splitter/splitter.c
reactos/drivers/wdm/audio/legacy/stream/pnp.c
reactos/drivers/wdm/audio/legacy/wdmaud/control.c
reactos/drivers/wdm/audio/legacy/wdmaud/mixer.c
reactos/hal/halppc/generic/dma.c
reactos/hal/halx86/generic/dma.c
reactos/include/host/typedefs.h
reactos/include/psdk/basetsd.h
reactos/lib/cmlib/hivedata.h
reactos/lib/rtl/bitmap.c
reactos/lib/rtl/debug.c
reactos/lib/rtl/heap.c
reactos/lib/rtl/rangelist.c
reactos/lib/rtl/registry.c
reactos/lib/rtl/unicode.c
reactos/ntoskrnl/ex/init.c
reactos/ntoskrnl/fstub/disksup.c
reactos/ntoskrnl/io/iomgr/drvrlist.c
reactos/ntoskrnl/kdbg/kdb.c
reactos/ntoskrnl/kdbg/kdb_cli.c
reactos/ntoskrnl/ke/i386/irqobj.c
reactos/ntoskrnl/mm/elf.inc.h
reactos/ntoskrnl/mm/i386/pagepae.c
reactos/ntoskrnl/mm/pe.c
reactos/ntoskrnl/po/power.c
reactos/ntoskrnl/ps/psmgr.c
reactos/ntoskrnl/ps/query.c