NB fix min-val int-as-long

This commit is contained in:
Peter Taoussanis 2015-12-01 13:38:44 +07:00
parent 4df5446c5b
commit f59f2f33cb

View file

@ -205,8 +205,8 @@
(do (write-id out id-short-as-long) (do (write-id out id-short-as-long)
(.writeShort out n)) (.writeShort out n))
(and (<= n 2147483647 #_Integer/MAX_VALUE) (and (<= n 2147483647 #_Integer/MAX_VALUE)
(>= -2147483648 #_Integer/MIN_VALUE)) (>= n -2147483648 #_Integer/MIN_VALUE))
(do (write-id out id-int-as-long) (do (write-id out id-int-as-long)
(.writeInt out n)) (.writeInt out n))