diff options
| author | Tyge Løvset <[email protected]> | 2023-01-31 18:55:08 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-01-31 18:55:08 +0100 |
| commit | b677a0c3950b8294ba6458e682a885351273ac08 (patch) | |
| tree | f309f7f7571fb588f0f65254d17fa09d678a8e3c /misc/examples/stack.c | |
| parent | a24ecd6bbfffc2e0b75b8ed48fcb5306d367ad3e (diff) | |
| download | STC-modified-b677a0c3950b8294ba6458e682a885351273ac08.tar.gz STC-modified-b677a0c3950b8294ba6458e682a885351273ac08.zip | |
Converted all containers but the maps and examples to signed sizes and indices.
Diffstat (limited to 'misc/examples/stack.c')
| -rw-r--r-- | misc/examples/stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |
