Fix more warnings.
authorPhilip Langdale <philipl@fido2.homeip.net>
Mon, 30 Oct 2006 19:52:57 +0000 (11:52 -0800)
committerPhilip Langdale <philipl@fido2.homeip.net>
Mon, 30 Oct 2006 19:52:57 +0000 (11:52 -0800)
src/vmware.c

index e778625..01dfe5a 100644 (file)
@@ -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);