fixed compiling with -Wwrite-strings

svn path=/trunk/; revision=20037
This commit is contained in:
Thomas Bluemel
2005-12-10 15:53:27 +00:00
parent d9fe039238
commit 1c08d2c447
2 changed files with 3 additions and 3 deletions
@@ -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) {
@@ -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_ */