summaryrefslogtreecommitdiff
path: root/shared/staticAssert.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:15 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:15 +0200
commit8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395 (patch)
tree975c6e590c31e56007006a23e7b15d0245d75b08 /shared/staticAssert.h
parent3.6 (diff)
downloadFreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.tar.gz
FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.tar.bz2
FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.zip
3.7
Diffstat (limited to 'shared/staticAssert.h')
-rw-r--r--shared/staticAssert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/staticAssert.h b/shared/staticAssert.h
index f14ed68e..14f52221 100644
--- a/shared/staticAssert.h
+++ b/shared/staticAssert.h
@@ -17,7 +17,7 @@
#define assert_static(e) \
do { \
-enum { assert_static__ = 1/(e) }; \
+enum { assert_static__ = 1/(static_cast<int>(e)) }; \
} while (0)
#endif
bgstack15