From: VMware, Inc <> Date: Wed, 26 Jan 2011 02:01:28 +0000 (-0800) Subject: Fix the build X-Git-Tag: 2011.01.24-354108~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a79fe4e24e360b7cec277c97423f65aa101ebfb4;p=thirdparty%2Fopen-vm-tools.git Fix the build Check in the other file too Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/misc/vthreadBase.c b/open-vm-tools/lib/misc/vthreadBase.c index ad063106a..fada848dc 100644 --- a/open-vm-tools/lib/misc/vthreadBase.c +++ b/open-vm-tools/lib/misc/vthreadBase.c @@ -842,8 +842,8 @@ VThreadBase_SetName(const char *name) // IN: new name if (len >= sizeof base->name) { if (vmx86_debug) { - Warning("%s: thread name (%s) exceeds maximum length (%d)\n", - __FUNCTION__, name, sizeof base->name -1); + Warning("%s: thread name (%s) exceeds maximum length (%u)\n", + __FUNCTION__, name, (uint32) sizeof base->name -1); } len = sizeof base->name - 1;