From fbf74b8aa806387e7fe4e2fc80041bb94a69be80 Mon Sep 17 00:00:00 2001 From: "VMware, Inc" <> Date: Wed, 24 Feb 2010 13:11:36 -0800 Subject: [PATCH] VMCI: Fix signedness errors When compiling with never compilers vmci causes the following errors to be reported: .../vmcrosstalk/common/vmciDs.c: In function "DsHandleMessage": .../vmcrosstalk/common/vmciDs.c:211: warning: pointer targets in passing argument 1 of "DsLookupAction" differ in signedness Fix it by changing name in from int8[] to char[] and making DsHandleMessage take size_t for "outSize" and "written". Signed-off-by: Marcelo Vanzin --- open-vm-tools/modules/linux/shared/vmci_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/open-vm-tools/modules/linux/shared/vmci_defs.h b/open-vm-tools/modules/linux/shared/vmci_defs.h index d09e9b210..d134b4026 100644 --- a/open-vm-tools/modules/linux/shared/vmci_defs.h +++ b/open-vm-tools/modules/linux/shared/vmci_defs.h @@ -320,7 +320,7 @@ typedef struct VMCIDsRequestHeader { int32 msgid; VMCIHandle handle; int32 nameLen; - int8 name[1]; + char name[1]; } VMCIDsRequestHeader; -- 2.47.3