summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorivmai <ivmai>2011-05-23 15:42:56 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:59 +0200
commitdff8113c399acf10ffc677a64cda68ffde2b9253 (patch)
treed44d23c507998dfe672858308904bb25a5893f58 /include
parentb1e41ad0c3c44e596aeeca35d757c4552e4bfee3 (diff)
2011-05-23 Ivan Maidanski <ivmai@mail.ru>
* include/private/gc_priv.h (GC_ASSERT): Use "%d" (instead of %ld) for line number printing.
Diffstat (limited to 'include')
-rw-r--r--include/private/gc_priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/private/gc_priv.h b/include/private/gc_priv.h
index 71ef9ff..8ff8c0f 100644
--- a/include/private/gc_priv.h
+++ b/include/private/gc_priv.h
@@ -2020,8 +2020,8 @@ GC_EXTERN signed_word GC_bytes_found;
#ifdef GC_ASSERTIONS
# define GC_ASSERT(expr) \
if (!(expr)) { \
- GC_err_printf("Assertion failure: %s:%ld\n", \
- __FILE__, (unsigned long)__LINE__); \
+ GC_err_printf("Assertion failure: %s:%d\n", \
+ __FILE__, __LINE__); \
ABORT("assertion failure"); \
}
#else