mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
fixed compiling with -Wwrite-strings
svn path=/trunk/; revision=20037
This commit is contained in:
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user