Skip to content

Commit

Permalink
Fix #15: Compile error on LDC.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Sabalausky authored and Nick Sabalausky committed Aug 7, 2013
1 parent 9fd849e commit 0d9efdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/mysql/connection.d
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ in
body
{
T result = 0;
(cast(ubyte*)result)[0..T.sizeof] = packet[0..T.sizeof];
(cast(ubyte*)&result)[0..T.sizeof] = packet[0..T.sizeof];
return result;
}

Expand Down

0 comments on commit 0d9efdb

Please sign in to comment.