mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-14 02:45:52 +00:00
CTextParser: Mark parameter to u16stof as const
The data being pointed to isn't modified.
This commit is contained in:
parent
73bb7c71b4
commit
6658be66c2
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
namespace urde {
|
namespace urde {
|
||||||
|
|
||||||
static float u16stof(char16_t* str) {
|
static float u16stof(const char16_t* str) {
|
||||||
char cstr[16];
|
char cstr[16];
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < 15 && str[i] != u'\0'; ++i)
|
for (i = 0; i < 15 && str[i] != u'\0'; ++i)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user