Skip to content

Commit

Permalink
Ptr{None} -> Ptr{Void}
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarne committed Sep 29, 2014
1 parent 098fa9c commit 6a580da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/9_PermutationExamples.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ end
println()

print(" random permutation:")
ran_shuffle(r, convert(Ptr{None}, unsafe_ref(p).data), N, sizeof(Uint64))
ran_shuffle(r, convert(Ptr{Void}, unsafe_ref(p).data), N, sizeof(Uint64))
#permutation_fprintf(stdout, p, " %u")
for x in pointer_to_array(unsafe_ref(p).data, (int(unsafe_ref(p).size),))
print(int(x), " ")
Expand Down

0 comments on commit 6a580da

Please sign in to comment.