Skip to content

Commit

Permalink
fix 32bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
niyarin committed Nov 1, 2023
1 parent 8940817 commit 3f8a705
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cljam/io/sam/util/validator.clj
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@
(case type'
"A" (when-not (and (char? value) (<= (int \!) (int value) (int \~)))
["Must be a char [!-~]."])
"i" (when-not (and (integer? value) (<= -32767 value 32767))
["Must be 16 bit signed integer."])
"i" (when-not (and (integer? value) (<= -2147483648 value 2147483647))
["Must be 32 bit signed integer."])
"f" (when-not (or (float? value) (integer? value))
["Must be a float."])
"Z" (when-not (and (string? value) (re-matches #"[ !-~]*" value))
Expand Down

0 comments on commit 3f8a705

Please sign in to comment.