aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2020-08-17 11:09:59 +0200
committerArmin Rigo <arigo@tunes.org>2020-08-17 11:09:59 +0200
commit46a3dd6504fc0ac852f951353dca40a8eb93b2cf (patch)
tree865d08ba2e0a749067d03ca3cf142082a94c2b9e /rpython/translator
parentfix (diff)
downloadpypy-46a3dd6504fc0ac852f951353dca40a8eb93b2cf.tar.gz
pypy-46a3dd6504fc0ac852f951353dca40a8eb93b2cf.tar.bz2
pypy-46a3dd6504fc0ac852f951353dca40a8eb93b2cf.zip
fix: otherwise, the variable is only 4 bytes but the JIT writes to it as if it were 8 bytes
Diffstat (limited to 'rpython/translator')
-rw-r--r--rpython/translator/c/src/signals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpython/translator/c/src/signals.h b/rpython/translator/c/src/signals.h
index 03c096e9ca..f3774d32f0 100644
--- a/rpython/translator/c/src/signals.h
+++ b/rpython/translator/c/src/signals.h
@@ -26,7 +26,7 @@ void pypysig_pushback(int signum);
/* When a signal is received, pypysig_counter is set to -1. */
/* This is a struct for the JIT. See rsignal.py. */
struct pypysig_long_struct {
- long value;
+ Signed value;
};
RPY_EXTERN struct pypysig_long_struct pypysig_counter;