Hi, attached a patch that fixes some warnings issued by gcc4 when compiling Qemu. I know that Qemu does not work with gcc4, but Xen (and KVM) uses significant parts of Qemu and this works with gcc4. When compiling Xen I see a lot of those warnings and miss the serious ones ;-( , the patch fixes some of them (mostly signedness pointer warnings). Please apply so that the other projects can pull the changes (Xensource will not accept pure Qemu patches on xen-devel). The habit of using typecasts to fix those warnings is debatable, but this is the least intrusive approach. BTW: What was the outcome of this socklen_t issue? I saw both "int" and "socklen_t" in the past, is there a policy regarding this? Comments welcome. Best regards, Andre. P.S. I haven't found something about the patch submitting policy on qemu-devel (inline or attachment, cvs diff or {git|hg} diff). Hope that my approach is OK. -- Andre Przywara AMD-Operating System Research Center (OSRC), Dresden, Germany Tel: +49 351 277-84917 ----to satisfy European Law for business letters: AMD Saxony Limited Liability Company & Co. KG Sitz (Geschäftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplementär: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Geschäftsführer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy