[pypy-commit] stmgc default: Fix a warning

arigo noreply at buildbot.pypy.org
Mon May 27 15:31:13 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r38:8ad26fdbea4a
Date: 2013-05-27 14:34 +0200
http://bitbucket.org/pypy/stmgc/changeset/8ad26fdbea4a/

Log:	Fix a warning

diff --git a/c3/et.c b/c3/et.c
--- a/c3/et.c
+++ b/c3/et.c
@@ -774,7 +774,7 @@
   revision_t newrev = -(cur_time + 1);
   assert(newrev & 1);
   ACCESS_ONCE(stm_local_revision) = newrev;
-  fprintf(stderr, "%p: stm_local_revision = %ld\n", d, newrev);
+  fprintf(stderr, "%p: stm_local_revision = %ld\n", d, (long)newrev);
   assert(d->local_revision_ref = &stm_local_revision);
 
   UpdateChainHeads(d, cur_time, localrev);


More information about the pypy-commit mailing list