Skip to content

Commit

Permalink
Fix wasm compile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 authored Jan 20, 2025
1 parent 11f0c5f commit 86758c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/platform/wasm/Device-wasm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Data Device::getTextureDataForText(std::string_view text, const FontDefinition&
{
char color[8];
sprintf(color, "#%02x%02x%02x", textDefinition._fontFillColor.r, textDefinition._fontFillColor.g, textDefinition._fontFillColor.b);
unsigned char* ptr = (unsigned char*)EM_ASM_INT({
unsigned char* ptr = (unsigned char*)EM_ASM_PTR({
var lines = UTF8ToString($0).split("\n");
var linesWidth = [];
var fontName = UTF8ToString($1);
Expand Down

0 comments on commit 86758c4

Please sign in to comment.