From 73945118a6b3cad60f4a1927b9394206d36e8281 Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Mon, 30 Oct 2006 11:52:57 -0800 Subject: [PATCH] Fix more warnings. --- src/vmware.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/vmware.c b/src/vmware.c index e778625..01dfe5a 100644 --- a/src/vmware.c +++ b/src/vmware.c @@ -431,7 +431,7 @@ VMWAREParseTopologyElement(ScrnInfoPtr pScrn, const char *element, const char *expectedTerminators, Bool needTerminator, - unsigned long *outValue) + unsigned int *outValue) { char buf[10]; size_t i = 0; @@ -493,8 +493,7 @@ VMWAREParseTopologyString(ScrnInfoPtr pScrn, xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Parsing static Xinerama topology: Starting...\n"); do { - char buf[10]; - unsigned long x, y, width, height; + unsigned int x, y, width, height; int i; i = VMWAREParseTopologyElement(pScrn, numOutputs, "width", str, "xX", TRUE, &width); -- 2.7.4