summarylogtreecommitdiffstats
path: root/0002-Fix-array-with-negative-size.patch
blob: dc3396fa2aa503ee445b8b1a812b19e38d610f1c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/nspr/pr/include/prtypes.h
+++ b/nspr/pr/include/prtypes.h
@@ -553,7 +553,7 @@
 ** allowed.
 */
 #define PR_STATIC_ASSERT(condition) \
-    extern void pr_static_assert(int arg[(condition) ? 1 : -1])
+    extern void pr_static_assert(int arg[(condition) ? 1 : 0])
 
 PR_END_EXTERN_C