summaryrefslogtreecommitdiff
path: root/decode_glx.c
diff options
context:
space:
mode:
Diffstat (limited to 'decode_glx.c')
-rw-r--r--decode_glx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/decode_glx.c b/decode_glx.c
index b0a732c..fbf749e 100644
--- a/decode_glx.c
+++ b/decode_glx.c
@@ -267,7 +267,6 @@ void
InitializeGLX(const unsigned char *buf)
{
TYPE p;
- int errcode;
GLXRequest = (unsigned char) (buf[9]);
GLXEvent = (unsigned char) (buf[10]);
@@ -355,7 +354,7 @@ InitializeGLX(const unsigned char *buf)
InitializeExtensionDecoder(GLXRequest, glx_decode_req, glx_decode_reply);
InitializeExtensionEventDecoder(GLXEvent, glx_decode_event);
- for (errcode = GLXError; errcode < (GLXError + GLXNError); errcode++) {
+ for (int errcode = GLXError; errcode < (GLXError + GLXNError); errcode++) {
InitializeExtensionErrorDecoder(errcode, glx_decode_error);
}
}