From b677a0c3950b8294ba6458e682a885351273ac08 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Tue, 31 Jan 2023 18:55:08 +0100 Subject: Converted all containers but the maps and examples to signed sizes and indices. --- misc/examples/stack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc/examples/stack.c') diff --git a/misc/examples/stack.c b/misc/examples/stack.c index 370577b9..86099607 100644 --- a/misc/examples/stack.c +++ b/misc/examples/stack.c @@ -15,7 +15,7 @@ int main() { c_AUTO (cstack_c, chars) { c_FORRANGE (i, 101) - cstack_i_push(&stack, i*i); + cstack_i_push(&stack, (int)(i*i)); printf("%d\n", *cstack_i_top(&stack)); -- cgit v1.2.3