diff options
author | Allen Winter <allen.winter@kdab.com> | 2018-02-23 12:43:16 -0500 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2018-02-23 12:43:16 -0500 |
commit | aab3e7c043571bf678f55c021e0402a7c99b8149 (patch) | |
tree | bfe699acd84f7e50d64d2ded3e18f233511c56d7 /src/test/regression.c | |
parent | 1b4b3ce747ac733816bdf39f04617473459d9c53 (diff) | |
download | libical-git-aab3e7c043571bf678f55c021e0402a7c99b8149.tar.gz |
src/test/regression.c - fix compile with older MSVC versions
Diffstat (limited to 'src/test/regression.c')
-rw-r--r-- | src/test/regression.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/regression.c b/src/test/regression.c index 150d098b..3b3a55db 100644 --- a/src/test/regression.c +++ b/src/test/regression.c @@ -532,9 +532,11 @@ void test_components() static void test_component_foreach_callback(icalcomponent *comp, struct icaltime_span *span, void *data) { + int *foundExpected; _unused(comp); _unused(span); - int* foundExpected = (int*)data; + + foundExpected = (int*)data; (*foundExpected)++; } |