[parrot/parrot] 7c24a6: In ByteBuffer.set_string_native make sure to use a...
GitHub
noreply at github.com
Sun Sep 23 01:09:48 UTC 2012
Branch: refs/heads/master
Home: https://github.com/parrot/parrot
Commit: 7c24a69dd2c47eccf1b44456146c669a7f2ba913
https://github.com/parrot/parrot/commit/7c24a69dd2c47eccf1b44456146c669a7f2ba913
Author: Whiteknight <wknight8111 at gmail.com>
Date: 2012-09-22 (Sat, 22 Sep 2012)
Changed paths:
M src/pmc/bytebuffer.pmc
Log Message:
-----------
In ByteBuffer.set_string_native make sure to use an unsigned char* instead of a regular char* to make g++ happy. Also, remove a superfluous GET_ATTR and const a local variable to make the optimizer slightly happier. Fixes #840. dukeleto++ for reporting the issue, kid51++ for alerting me about it.
More information about the parrot-commits
mailing list