From 29f59eee99f72b9a7a2dde1e6fc22ff3c943f440 Mon Sep 17 00:00:00 2001 From: Ganesh Viswanathan Date: Mon, 29 Jul 2019 23:24:03 -0500 Subject: Fix #131 - division in enums --- tests/include/test.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/include') diff --git a/tests/include/test.h b/tests/include/test.h index 91bfd75..cb4dd59 100644 --- a/tests/include/test.h +++ b/tests/include/test.h @@ -156,6 +156,16 @@ typedef struct dstruct2 { void **(*tcv)(int **param1); } DSTRUCT2; +// Issue #131 +enum +{ + TDEFL_LZ_CODE_BUF_SIZE = 64 * 1024, + TDEFL_OUT_BUF_SIZE = (TDEFL_LZ_CODE_BUF_SIZE * 13) / 10, + TDEFL_BOGUS_1 = (1024 * 128) / TDEFL_LZ_CODE_BUF_SIZE, + TDEFL_BOGUS_2 = TDEFL_LZ_CODE_BUF_SIZE / 64, + TDEFL_BOGUS_3 = TDEFL_OUT_BUF_SIZE / TDEFL_BOGUS_1 +}; + #ifdef __cplusplus } #endif -- cgit v1.2.3