Assorted casts to silence g++ warnings.

This commit is contained in:
Brian Paul
2003-09-19 15:38:15 +00:00
parent 74c33393b4
commit e4fcea2e06
15 changed files with 51 additions and 47 deletions

View File

@@ -423,7 +423,7 @@ _mesa_make_extension_string( GLcontext *ctx )
extStrLen += _mesa_strlen(default_extensions[i].name) + 1;
}
}
s = _mesa_malloc(extStrLen);
s = (GLubyte *) _mesa_malloc(extStrLen);
/* second, build the extension string */
extStrLen = 0;