diff --git a/reactos/boot/freeldr/freeldr/arch/i386/xboxi2c.c b/reactos/boot/freeldr/freeldr/arch/i386/xboxi2c.c index 02d0458fa59..a8e17cc1cfa 100644 --- a/reactos/boot/freeldr/freeldr/arch/i386/xboxi2c.c +++ b/reactos/boot/freeldr/freeldr/arch/i386/xboxi2c.c @@ -196,8 +196,8 @@ I2cSetFrontpanelLed(UCHAR b) // r = Red, g = Green, o = Orange, x = Off // This func is taken from cromwell, all credits goes for them void -XboxSetLED(UCHAR *pattern) { - char *x = pattern; +XboxSetLED(PCSTR pattern) { + const char *x = pattern; int r, g; if(strlen(pattern) == 4) { diff --git a/reactos/boot/freeldr/freeldr/include/arch/i386/machxbox.h b/reactos/boot/freeldr/freeldr/include/arch/i386/machxbox.h index e3c6817d042..fef0ca58080 100644 --- a/reactos/boot/freeldr/freeldr/include/arch/i386/machxbox.h +++ b/reactos/boot/freeldr/freeldr/include/arch/i386/machxbox.h @@ -60,7 +60,7 @@ VOID XboxRTCGetCurrentDateTime(PULONG Year, PULONG Month, PULONG Day, PULONG Hou VOID XboxHwDetect(VOID); -VOID XboxSetLED(UCHAR *Pattern); +VOID XboxSetLED(PCSTR Pattern); #endif /* __I386_HWXBOX_H_ */