projects
/
platform
/
upstream
/
xf86-video-vmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0dca2f
)
Fix more warnings.
author
Philip Langdale
<philipl@fido2.homeip.net>
Mon, 30 Oct 2006 19:52:57 +0000
(11:52 -0800)
committer
Philip Langdale
<philipl@fido2.homeip.net>
Mon, 30 Oct 2006 19:52:57 +0000
(11:52 -0800)
src/vmware.c
patch
|
blob
|
history
diff --git
a/src/vmware.c
b/src/vmware.c
index
e778625
..
01dfe5a
100644
(file)
--- 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);