Re: [Qemu-devel] [Patch] Fix compiler warnings

2007-11-01 Thread Stefan Weil
I send an update of the patch for current QEMU CVS HEAD in the hope that it will be integrated in CVS... Stefan Stefan Weil schrieb: > Hello, > > this patch fixes some compiler warnings in two QEMU source files: > > * missing include unistd.h for syscall > > * comparision of unsigned value with -

[Qemu-devel] [Patch] Fix compiler warnings

2007-10-01 Thread Stefan Weil
Hello, this patch fixes some compiler warnings in two QEMU source files: * missing include unistd.h for syscall * comparision of unsigned value with -1 (mmap returns pointer with error value MAP_FAILED) I also replaced leading tabs in mmap.c by blanks. Please add this patch to CVS head. Reg