mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Changed size_t to unsigned int
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#include <string.h>
|
||||
|
||||
//utils
|
||||
static void expand(Toy_Bytecode* bc, size_t amount) {
|
||||
static void expand(Toy_Bytecode* bc, unsigned int amount) {
|
||||
if (bc->count + amount > bc->capacity) {
|
||||
|
||||
while (bc->count + amount > bc->capacity) { //expand as much as needed
|
||||
|
||||
Reference in New Issue
Block a user