[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/xelb 87ebff4 06/42: Fix for 32bit platform
From: |
Chris Feng |
Subject: |
[elpa] externals/xelb 87ebff4 06/42: Fix for 32bit platform |
Date: |
Thu, 17 Sep 2015 23:16:38 +0000 |
branch: externals/xelb
commit 87ebff4b0f649605adbbdeadd4b3db4083212b18
Author: Chris Feng <address@hidden>
Commit: Chris Feng <address@hidden>
Fix for 32bit platform
---
xcb-types.el | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/xcb-types.el b/xcb-types.el
index 33ddeb3..af31817 100644
--- a/xcb-types.el
+++ b/xcb-types.el
@@ -130,8 +130,8 @@
(if (integerp value)
(vector (logand (lsh value -24) #xFF) (logand (lsh value -16) #xFF)
(logand (lsh value -8) #xFF) (logand value #xFF))
- (let ((msw (truncate value #x10000))
- (lsw (truncate (- value (lsh msw 16)))))
+ (let* ((msw (truncate value #x10000))
+ (lsw (truncate (- value (lsh msw 16)))))
(vector (logand (lsh msw -8) #xFF) (logand msw #xFF)
(logand (lsh lsw -8) #xFF) (logand lsw #xFF)))))
(defsubst xcb:-pack-u4-lsb (value)
@@ -139,8 +139,8 @@
(if (integerp value)
(vector (logand value #xFF) (logand (lsh value -8) #xFF)
(logand (lsh value -16) #xFF) (logand (lsh value -24) #xFF))
- (let ((msw (truncate value #x10000))
- (lsw (truncate (- value (* msw #x10000)))))
+ (let* ((msw (truncate value #x10000))
+ (lsw (truncate (- value (* msw #x10000)))))
(vector (logand lsw #xFF) (logand (lsh lsw -8) #xFF)
(logand msw #xFF) (logand (lsh msw -8) #xFF))))))
- [elpa] branch externals/xelb created (now f5a7ca9), Chris Feng, 2015/09/17
- [elpa] externals/xelb 2d78724 03/42: Fix shift bit for converting from keysym to Emacs event, Chris Feng, 2015/09/17
- [elpa] externals/xelb e665cb3 05/42: Update xcb-randr.el, Chris Feng, 2015/09/17
- [elpa] externals/xelb 87ebff4 06/42: Fix for 32bit platform,
Chris Feng <=
- [elpa] externals/xelb 1916894 07/42: Fix integer overflow on 32-bit platform, Chris Feng, 2015/09/17
- [elpa] externals/xelb c042d3f 08/42: Provide more verbose message when connection failed or auth required, Chris Feng, 2015/09/17
- [elpa] externals/xelb 6a7bccc 09/42: Disable concurrency of events, Chris Feng, 2015/09/17
- [elpa] externals/xelb 11005f2 10/42: Fix ch11ng/exwm#16 (cursor size not matching), Chris Feng, 2015/09/17
- [elpa] externals/xelb cd67b51 11/42: Set the `display` slot of `xcb:connection` in `xcb:connect-to-socket`, Chris Feng, 2015/09/17
- [elpa] externals/xelb 23cb30b 12/42: Fix an emacsclient bug, Chris Feng, 2015/09/17
- [elpa] externals/xelb 946d3ed 14/42: Fix keyboard mapping update problem, Chris Feng, 2015/09/17
- [elpa] externals/xelb 76246b4 13/42: Check `length` slot in `xcb:icccm:-GetProperty~reply`, Chris Feng, 2015/09/17
- [elpa] externals/xelb bf39d9b 15/42: allow key mappings without mode switch or NumLock keys, Chris Feng, 2015/09/17
- [elpa] externals/xelb 518b17a 16/42: Merge branch 'pipcet-no-num-lock', Chris Feng, 2015/09/17