summaryrefslogtreecommitdiffhomepage
path: root/examples/complex.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-10-14 16:02:25 +0200
committerTyge Løvset <[email protected]>2022-10-14 16:02:25 +0200
commitd26fd02b70b9f091c2bcfa350e420f74c1f023f8 (patch)
tree7ca2902ee839cb1ce7bfc3333f6ead2e4ea39ef2 /examples/complex.c
parent54c08dc031c622e78dc134353690ed359b9173d8 (diff)
downloadSTC-modified-d26fd02b70b9f091c2bcfa350e420f74c1f023f8.tar.gz
STC-modified-d26fd02b70b9f091c2bcfa350e420f74c1f023f8.zip
Replaced PRIuMAX with new c_zu macro in examples. "%zu" is not supported by mingw64 and PRIuMAX is not a replacement for "zu".
Diffstat (limited to 'examples/complex.c')
-rw-r--r--examples/complex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/complex.c b/examples/complex.c
index 59683fac..5e3f53a9 100644
--- a/examples/complex.c
+++ b/examples/complex.c
@@ -40,7 +40,7 @@ int main() {
// Put in some data in stack array
stack.data[x] = 3.1415927f;
- printf("stack size: %" PRIuMAX "\n", FloatStack_size(&stack));
+ printf("stack size: %" c_zu "\n", FloatStack_size(&stack));
StackList list = StackList_init();
StackList_push_back(&list, stack);