Skip to content

Commit 520b254

Browse files
committed
Fix in detection of integer value
1 parent e2e3b3b commit 520b254

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/JSRootIOEvolution.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
Z_HDRSIZE : 9,
3737
Mode : "array", // could be string or array, enable usage of ArrayBuffer in http requests
3838
NativeArray : true, // when true, native arrays like Int32Array or Float64Array are used
39-
IsInteger : function(typ) { return ((typ>=this.kChar) && (typ<=this.kCounter)) ||
39+
IsInteger : function(typ) { return ((typ>=this.kChar) && (typ<=this.kLong)) ||
40+
(typ===this.kCounter) ||
4041
((typ>=this.kLegacyChar) && (typ<=this.kBool)); },
4142
IsNumeric : function(typ) { return (typ>0) && (typ<=this.kBool) && (typ!==this.kCharStar); }
4243

0 commit comments

Comments
 (0)