summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHans Kristian Rosbach <hk-git@circlestorm.org>2021-05-20 20:51:51 +0200
committerHans Kristian Rosbach <hk-github@circlestorm.org>2021-06-12 11:41:17 +0200
commit74436cfb05b0d6bd1acff4e8e57204cb176d738e (patch)
treeec7d8fde3ccc84ad8a1bff6c140b8e0673073a64 /test
parent558192b4a6f9c8142a0e17ff3c4574a20a2dc96f (diff)
downloadProject-Tick-74436cfb05b0d6bd1acff4e8e57204cb176d738e.tar.gz
Project-Tick-74436cfb05b0d6bd1acff4e8e57204cb176d738e.zip
Open up develop branch for non-stable commits.
Replace ZLIBNG_VERNUM with a larger one with space for more accurate information. Replace ZLIBNG_VER_SUBREVISION with ZLIBNG_VER_MODIFIED and ZLIBNG_VER_STATUS.
Diffstat (limited to 'test')
-rw-r--r--test/example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/example.c b/test/example.c
index 97ca0029b9..8a8905dd5b 100644
--- a/test/example.c
+++ b/test/example.c
@@ -1016,8 +1016,8 @@ int main(int argc, char *argv[]) {
fprintf(stderr, "warning: different zlib version\n");
}
- printf("zlib version %s = 0x%04x, compile flags = 0x%lx\n",
- PREFIX2(VERSION), PREFIX2(VERNUM), PREFIX(zlibCompileFlags)());
+ printf("zlib-ng version %s = 0x%08lx, compile flags = 0x%lx\n",
+ ZLIBNG_VERSION, ZLIBNG_VERNUM, PREFIX(zlibCompileFlags)());
compr = (unsigned char*)calloc((unsigned int)comprLen, 1);
uncompr = (unsigned char*)calloc((unsigned int)uncomprLen, 1);