summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2020-09-29 17:27:36 +0200
committerSergeanur <s.anureev@yandex.ua>2020-09-30 01:19:04 +0200
commit73e4350320a11b0f3ca7530cedc9364363c2ce03 (patch)
treee52eb5aded46d7d00e677a9d6a34aeb766af13d8
parentFix warning ISO C++11 does not allow conversion from string literal to (diff)
downloadre3-73e4350320a11b0f3ca7530cedc9364363c2ce03.tar
re3-73e4350320a11b0f3ca7530cedc9364363c2ce03.tar.gz
re3-73e4350320a11b0f3ca7530cedc9364363c2ce03.tar.bz2
re3-73e4350320a11b0f3ca7530cedc9364363c2ce03.tar.lz
re3-73e4350320a11b0f3ca7530cedc9364363c2ce03.tar.xz
re3-73e4350320a11b0f3ca7530cedc9364363c2ce03.tar.zst
re3-73e4350320a11b0f3ca7530cedc9364363c2ce03.zip
Diffstat (limited to '')
-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 f7dedf0c..31949009 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