mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-22 11:21:09 +00:00
- Missing casting, even when that function is deprecated.
This commit is contained in:
parent
1186bccca0
commit
fcdc296ec7
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(FStringStruct, CharAt, StringCharAt)
|
||||||
static int StringCharCodeAt(FString *self, int pos)
|
static int StringCharCodeAt(FString *self, int pos)
|
||||||
{
|
{
|
||||||
if ((unsigned)pos >= self->Len()) return 0;
|
if ((unsigned)pos >= self->Len()) return 0;
|
||||||
else return (*self)[pos];
|
else return (uint8_t)((*self)[pos]);
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINE_ACTION_FUNCTION_NATIVE(FStringStruct, CharCodeAt, StringCharCodeAt)
|
DEFINE_ACTION_FUNCTION_NATIVE(FStringStruct, CharCodeAt, StringCharCodeAt)
|
||||||
|
|
Loading…
Reference in a new issue