aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/erc
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/erc')
-rw-r--r--lisp/erc/erc-dcc.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/erc/erc-dcc.el b/lisp/erc/erc-dcc.el
index fdc209991aa..8bf4c3e1666 100644
--- a/lisp/erc/erc-dcc.el
+++ b/lisp/erc/erc-dcc.el
@@ -229,7 +229,7 @@ which is big-endian."
229 "Maximum number of bytes for a fixnum.") 229 "Maximum number of bytes for a fixnum.")
230 230
231(defconst erc-most-positive-int-msb 231(defconst erc-most-positive-int-msb
232 (lsh most-positive-fixnum (- 0 (* 8 (1- erc-most-positive-int-bytes)))) 232 (ash most-positive-fixnum (- 0 (* 8 (1- erc-most-positive-int-bytes))))
233 "Content of the most significant byte of most-positive-fixnum.") 233 "Content of the most significant byte of most-positive-fixnum.")
234 234
235(defun erc-unpack-int (str) 235(defun erc-unpack-int (str)
@@ -251,7 +251,7 @@ which is big-endian."
251 (let ((num 0) 251 (let ((num 0)
252 (count 0)) 252 (count 0))
253 (while (< count len) 253 (while (< count len)
254 (setq num (+ num (lsh (aref str (- len count 1)) (* 8 count)))) 254 (setq num (+ num (ash (aref str (- len count 1)) (* 8 count))))
255 (setq count (1+ count))) 255 (setq count (1+ count)))
256 num))) 256 num)))
257 257