summaryrefslogtreecommitdiff
path: root/src/boot.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot.clj')
-rw-r--r--src/boot.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot.clj b/src/boot.clj
index 9a6f2002..3f9a27bd 100644
--- a/src/boot.clj
+++ b/src/boot.clj
@@ -782,8 +782,8 @@
ret#))
-(defn int [#^Number x]
- (. x (intValue)))
+(defn int [x]
+ (. clojure.lang.RT (intCast x)))
(defn long [#^Number x]
(. x (longValue)))