Skip to content

Commit 9d1347b

Browse files
committed
Fix for 32-bit platforms
1 parent b02a2fd commit 9d1347b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cformat.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ function format( x::T;
258258
dpos === nothing && (dpos = length(s))
259259
if actualconv[1] in "eEs"
260260
epos = Compat.findfirst(isequal(actualconv[1] == 'E' ? 'E' : 'e'), s)
261-
rpos = epos === nothing ? length( s ) : epos-1
261+
rpos = (epos === nothing) ? length( s ) : (epos-1)
262262
else
263263
rpos = length(s)
264264
end

0 commit comments

Comments
 (0)