Skip to content

Commit 74f5fe7

Browse files
authored
Windows sys.inode: high and low bita
I'd necessary to split a 128 bit IF
1 parent 07940b7 commit 74f5fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

+stdlib/+sys/inode.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
i = sscanf(m, '%lx', 1);
2222
if i == intmax('uint64')
2323
L = strlength(m);
24-
i = [sscanf(m(1:L-1), '%lx', 1), sscanf(m(L:end), '%lx', 1)];
24+
i = [sscanf(m(1:floor(L/2)), '%lx', 1), sscanf(m(floor(L/2)+1:end), '%lx', 1)];
2525
end
2626
else
2727
i = str2double(m);

0 commit comments

Comments
 (0)