mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-23 00:01:49 +01:00
Fix warning ISO C++11 does not allow conversion from string literal to
'char *
This commit is contained in:
parent
8424eabf22
commit
eeb26cfc7d
@ -50,7 +50,7 @@ void tbInit()
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void tbStartTimer(int32 unk, char *name)
|
void tbStartTimer(int32 unk, const char *name)
|
||||||
{
|
{
|
||||||
strcpy(TimerBar.Timers[TimerBar.count].name, name);
|
strcpy(TimerBar.Timers[TimerBar.count].name, name);
|
||||||
TimerBar.Timers[TimerBar.count].unk = unk;
|
TimerBar.Timers[TimerBar.count].unk = unk;
|
||||||
@ -58,7 +58,7 @@ void tbStartTimer(int32 unk, char *name)
|
|||||||
TimerBar.count++;
|
TimerBar.count++;
|
||||||
}
|
}
|
||||||
|
|
||||||
void tbEndTimer(char* name)
|
void tbEndTimer(const char* name)
|
||||||
{
|
{
|
||||||
uint32 n = 1500;
|
uint32 n = 1500;
|
||||||
for (uint32 i = 0; i < TimerBar.count; i++) {
|
for (uint32 i = 0; i < TimerBar.count; i++) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
void tbInit();
|
void tbInit();
|
||||||
void tbStartTimer(int32, char*);
|
void tbStartTimer(int32, const char*);
|
||||||
void tbEndTimer(char*);
|
void tbEndTimer(const char*);
|
||||||
void tbDisplay();
|
void tbDisplay();
|
Loading…
Reference in New Issue
Block a user