diff options
Diffstat (limited to 'src/Color.c')
-rw-r--r-- | src/Color.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Color.c b/src/Color.c index 9139068..671d60b 100644 --- a/src/Color.c +++ b/src/Color.c @@ -34,13 +34,14 @@ XRenderParseColor(Display *dpy, char *spec, XRenderColor *def) { unsigned short elements[4]; unsigned short *pShort; + int i; spec += 5; /* * Attempt to parse the value portion. */ pShort = elements; - for (int i = 0; i < 4; i++, pShort++, spec++) { + for (i = 0; i < 4; i++, pShort++, spec++) { int n = 0; *pShort = 0; |