Skip to content

Commit 35399cc

Browse files
committed
Minor tweaks
1 parent 05395a1 commit 35399cc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/rpc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ static void UpdateDrawFrame(void)
610610
}
611611
else
612612
{
613-
for (int i = 0; i < droppedFiles.count; i++)
613+
for (unsigned int i = 0; i < droppedFiles.count; i++)
614614
{
615615
if (IsFileExtension(droppedFiles.paths[i], ".c;.h"))
616616
{
@@ -925,7 +925,7 @@ static void UpdateDrawFrame(void)
925925
//----------------------------------------------------------------------------------------
926926
if (showInfoMessagePanel)
927927
{
928-
Vector2 textSize = MeasureTextEx(GuiGetFont(), infoMessage, GuiGetFont().baseSize*2, 3);
928+
Vector2 textSize = MeasureTextEx(GuiGetFont(), infoMessage, (float)GuiGetFont().baseSize*2, 3);
929929
GuiPanel((Rectangle){ -10, screenHeight/2 - 180, screenWidth + 20, 290 }, NULL);
930930

931931
int textSpacing = GuiGetStyle(DEFAULT, TEXT_SPACING);

src/rpconfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ rpcProjectConfigRaw LoadProjectConfigRaw(const char *fileName)
325325
raw.entries = (rpcPropertyEntry *)RL_CALLOC(RPC_MAX_PROPERTY_ENTRIES_RAW, sizeof(rpcPropertyEntry));
326326
raw.entryCount = RPC_MAX_PROPERTY_ENTRIES_RAW;
327327

328-
for (int i = 0; i < config.count; i++)
328+
for (unsigned int i = 0; i < config.count; i++)
329329
{
330330
TextCopy(raw.entries[i].key, config.values[i].key);
331331
TextCopy(raw.entries[i].desc, config.values[i].desc);
@@ -368,7 +368,7 @@ rpcProjectConfigRaw LoadProjectConfigRaw(const char *fileName)
368368
else if (TextIsEqual(category, "RAYLIB")) raw.entries[i].category = RPC_CAT_RAYLIB;
369369
}
370370

371-
for (int i = 0; i < config.count; i++)
371+
for (unsigned int i = 0; i < config.count; i++)
372372
{
373373
// Type is parsed from key and value
374374
if (!config.values[i].is_text)

src/template/.github/workflows/webassembly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Setup emsdk
3939
uses: mymindstorm/setup-emsdk@v14
4040
with:
41-
version: 3.1.64
41+
version: 5.0.3
4242
actions-cache-folder: 'emsdk-cache'
4343

4444
- name: Setup Release Paths

0 commit comments

Comments
 (0)