diff options
author | Philip Langdale <philipl@fido2.homeip.net> | 2006-10-30 11:52:57 -0800 |
---|---|---|
committer | Philip Langdale <philipl@fido2.homeip.net> | 2006-10-30 11:52:57 -0800 |
commit | 73945118a6b3cad60f4a1927b9394206d36e8281 (patch) | |
tree | afd83fcf7b7a42fee7f809f353555ec95ddde8c9 | |
parent | e0dca2ff0b695b60830cf8f10a2c0585602a4d40 (diff) |
Fix more warnings.
-rw-r--r-- | src/vmware.c | 5 |
1 files 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); |