We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07940b7 commit 74f5fe7Copy full SHA for 74f5fe7
+stdlib/+sys/inode.m
@@ -21,7 +21,7 @@
21
i = sscanf(m, '%lx', 1);
22
if i == intmax('uint64')
23
L = strlength(m);
24
- i = [sscanf(m(1:L-1), '%lx', 1), sscanf(m(L:end), '%lx', 1)];
+ i = [sscanf(m(1:floor(L/2)), '%lx', 1), sscanf(m(floor(L/2)+1:end), '%lx', 1)];
25
end
26
else
27
i = str2double(m);
0 commit comments