summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2020-09-29 17:27:36 +0200
committerFilip Gawin <filip.gawin@zoho.com>2020-09-29 17:27:36 +0200
commit874b31d82b7a277a5b34fe09f3c6802c065d6e3f (patch)
treea75b6fea3d74dca72a3b47c68b69186d0c697b4f /src
parentFix warning ISO C++11 does not allow conversion from string literal to (diff)
downloadre3-874b31d82b7a277a5b34fe09f3c6802c065d6e3f.tar
re3-874b31d82b7a277a5b34fe09f3c6802c065d6e3f.tar.gz
re3-874b31d82b7a277a5b34fe09f3c6802c065d6e3f.tar.bz2
re3-874b31d82b7a277a5b34fe09f3c6802c065d6e3f.tar.lz
re3-874b31d82b7a277a5b34fe09f3c6802c065d6e3f.tar.xz
re3-874b31d82b7a277a5b34fe09f3c6802c065d6e3f.tar.zst
re3-874b31d82b7a277a5b34fe09f3c6802c065d6e3f.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/timebars.cpp4
-rw-r--r--src/core/timebars.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/timebars.cpp b/src/core/timebars.cpp
index 7aaa04e6..5ac5565d 100644
--- a/src/core/timebars.cpp
+++ b/src/core/timebars.cpp
@@ -50,7 +50,7 @@ void tbInit()
#endif
}
-void tbStartTimer(int32 unk, const char *name)
+void tbStartTimer(int32 unk, Const char *name)
{
strcpy(TimerBar.Timers[TimerBar.count].name, name);
TimerBar.Timers[TimerBar.count].unk = unk;
@@ -58,7 +58,7 @@ void tbStartTimer(int32 unk, const char *name)
TimerBar.count++;
}
-void tbEndTimer(const char* name)
+void tbEndTimer(Const char* name)
{
uint32 n = 1500;
for (uint32 i = 0; i < TimerBar.count; i++) {
diff --git a/src/core/timebars.h b/src/core/timebars.h
index 1a5a0573..3871b61c 100644
--- a/src/core/timebars.h
+++ b/src/core/timebars.h
@@ -1,6 +1,6 @@
#pragma once
void tbInit();
-void tbStartTimer(int32, const char*);
-void tbEndTimer(const char*);
+void tbStartTimer(int32, Const char*);
+void tbEndTimer(Const char*);
void tbDisplay(); \ No newline at end of file