Commit 0baf5baf authored by Kevin Brace's avatar Kevin Brace

Eliminate constant related compilation warnings for native functions

Signed-off-by: Kevin Brace's avatarKevin Brace <kevinbrace@gmx.com>
parent 0b2cce04
......@@ -1305,7 +1305,7 @@ SiSCopyModeNLink(ScrnInfoPtr pScrn, DisplayModePtr dest,
* (Code base taken from mga driver)
*/
static DisplayModePtr
SiSGetModeFromName(char* str, DisplayModePtr i)
SiSGetModeFromName(const char* str, DisplayModePtr i)
{
DisplayModePtr c = i;
if(!i) return NULL;
......
......@@ -850,7 +850,7 @@ SISGetMergedModeDetails(ScrnInfoPtr pScrn,
***********************************/
static void
sisutil_prepare_string(xSiSCtrlCommandReply *sdcbuf, char *mystring)
sisutil_prepare_string(xSiSCtrlCommandReply *sdcbuf, const char *mystring)
{
int slen = 0;
sdcbuf->sdc_buffer[0] = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment