Io bug?
This seems like an obvious mistake (the superfluous &) with an easy fix. However, I have never see the code crash here so I am now wondering whether I am not just crazy...
@jch could you confirm that the change indeed makes sense to you?
Merge request reports
Activity
Apparently things like &offset still give a pointer to the data if offset is declared as an array and not a pointer (e.g. https://stackoverflow.com/questions/2528318/how-come-an-arrays-address-is-equal-to-its-value-in-c). I think that explains why the code works as it is.
Maybe it makes sense to avoid using & in these cases so it doesn't matter if the variable is an array or a pointer?
mentioned in commit 1ac9f228
Please register or sign in to reply