Commit 50f0a76b authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

corrected a variable type for python "b", i.e., from uint16 to uint8.

this fixes the recent build failure on sparc:

directly committing to trunk, as I believe it's quite trivial and it's a
sort of urgent care fix.

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent 5c75c503
......@@ -159,7 +159,7 @@ PyTypeObject opcode_type = {
Opcode_init(s_Opcode* const self, PyObject* args) {
uint16_t code = 0;
uint8_t code = 0;
if (PyArg_ParseTuple(args, "b", &code)) {
try {
self->opcode = new Opcode(code);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment