Cleanup warnings in examples (#5467)

This commit is contained in:
Jeffery Myers
2026-01-03 13:38:51 -08:00
committed by GitHub
parent f67e70bb47
commit b00cbdaf49
13 changed files with 83 additions and 80 deletions

View File

@ -66,7 +66,7 @@ int main(void)
// Grow flameRoot
for (int x = 2; x < flameWidth; x++)
{
unsigned short flame = flameRootBuffer[x];
unsigned char flame = flameRootBuffer[x];
if (flame == 255) continue;
flame += GetRandomValue(0, 2);
if (flame > 255) flame = 255;