Skip to content

Commit

Permalink
Workaround for Julia 0.2.1 range iteration bug (fixes #8)
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Jul 24, 2014
1 parent 2de7097 commit 40f53cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Codecs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ end

const sentinel = typemax(Uint)
const base64lookup = fill(sentinel, 256)
for c = 0x00:0xff
for ci = 0:255
c = uint8(ci) # Julia 0.2.1 doesn't like `for c = 0x00:0xff`
try
v = _base64dec(c)
base64lookup[c+1] = v
Expand Down

0 comments on commit 40f53cf

Please sign in to comment.