aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code
diff options
context:
space:
mode:
authorNick Barnes2012-10-15 00:35:40 +0100
committerNick Barnes2012-10-15 00:35:40 +0100
commit82a32fa22a447f6e019ecfa5fb2274094a7e4275 (patch)
treed5e69ff2a98082b600c681b23b2f15b2b0ce1b33 /mps/code
parentfc5acb36a7ea08dd12a173094d1679e5335a5cec (diff)
downloademacs-82a32fa22a447f6e019ecfa5fb2274094a7e4275.tar.gz
emacs-82a32fa22a447f6e019ecfa5fb2274094a7e4275.zip
Eventcnv was printing event clock values incorrectly: the upper 32 bits and then all the bits. have to mask the top bits when printing the bottom ones.
Copied from Perforce Change: 179881 ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code')
-rw-r--r--mps/code/clock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mps/code/clock.h b/mps/code/clock.h
index 881d74e2715..920a69c9bee 100644
--- a/mps/code/clock.h
+++ b/mps/code/clock.h
@@ -120,7 +120,7 @@ __extension__ typedef unsigned long long EventClock;
120#define EVENT_CLOCK_PRINT(stream, clock) \ 120#define EVENT_CLOCK_PRINT(stream, clock) \
121 fprintf(stream, "%08lX%08lX", \ 121 fprintf(stream, "%08lX%08lX", \
122 (unsigned long)((clock) >> 32), \ 122 (unsigned long)((clock) >> 32), \
123 (unsigned long)(clock)) 123 (unsigned long)((clock) & 0xffffffff))
124 124
125#define EVENT_CLOCK_WRITE(stream, clock) \ 125#define EVENT_CLOCK_WRITE(stream, clock) \
126 WriteF(stream, "$W$W", (WriteFW)((clock) >> 32), (WriteFW)clock, NULL) 126 WriteF(stream, "$W$W", (WriteFW)((clock) >> 32), (WriteFW)clock, NULL)