summaryrefslogtreecommitdiff
path: root/compiler/cbits
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/cbits')
-rw-r--r--compiler/cbits/genSym.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cbits/genSym.c b/compiler/cbits/genSym.c
index 725a310253..4af39408ed 100644
--- a/compiler/cbits/genSym.c
+++ b/compiler/cbits/genSym.c
@@ -10,7 +10,7 @@ static HsInt GenSymInc = 1;
STATIC_INLINE void checkUniqueRange(HsInt u STG_UNUSED) {
#if DEBUG
// Uh oh! We will overflow next time a unique is requested.
- assert(h != UNIQUE_MASK);
+ assert(u != UNIQUE_MASK);
#endif
}