aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net
diff options
context:
space:
mode:
authorJuanma Barranquero2005-05-16 11:34:49 +0000
committerJuanma Barranquero2005-05-16 11:34:49 +0000
commit027a4b6b3fd229f8aea323f59cb246d99deb8a75 (patch)
treec92da7d3049376d7bd687db6bc5c8dce82ed9335 /lisp/net
parent216d380630ec8be9569a56687f0e08b89ee97c47 (diff)
downloademacs-027a4b6b3fd229f8aea323f59cb246d99deb8a75.tar.gz
emacs-027a4b6b3fd229f8aea323f59cb246d99deb8a75.zip
Replace `string-to-int' by `string-to-number'.
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/ange-ftp.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el
index 8b4ed89e7b0..98e1bbf68f2 100644
--- a/lisp/net/ange-ftp.el
+++ b/lisp/net/ange-ftp.el
@@ -2109,7 +2109,7 @@ suffix of the form #PORT to specify a non-default port"
2109 (line (cdr status))) 2109 (line (cdr status)))
2110 (save-match-data 2110 (save-match-data
2111 (if (string-match ange-ftp-hash-mark-msgs line) 2111 (if (string-match ange-ftp-hash-mark-msgs line)
2112 (let ((size (string-to-int (match-string 1 line)))) 2112 (let ((size (string-to-number (match-string 1 line))))
2113 (setq ange-ftp-ascii-hash-mark-size size 2113 (setq ange-ftp-ascii-hash-mark-size size
2114 ange-ftp-hash-mark-unit (ash size -4)) 2114 ange-ftp-hash-mark-unit (ash size -4))
2115 2115
@@ -5082,7 +5082,7 @@ Other orders of $ and _ seem to all work just fine.")
5082 (and (string-match regexp name) 5082 (and (string-match regexp name)
5083 (setq version 5083 (setq version
5084 (max version 5084 (max version
5085 (string-to-int (match-string 1 name)))))) 5085 (string-to-number (match-string 1 name))))))
5086 files) 5086 files)
5087 (setq version (1+ version)) 5087 (setq version (1+ version))
5088 (puthash 5088 (puthash