Minor bugfixes

This commit is contained in:
flobernd 2017-07-19 16:56:12 +02:00
parent e76c3d64c3
commit d7a49370fe
1 changed files with 12 additions and 12 deletions

View File

@ -489,7 +489,7 @@ int main(int argc, char** argv)
fputs("Invalid hex value", stderr);
return ZYDIS_STATUS_INVALID_PARAMETER;
}
data[i + j] = (uint8_t)value;
data[length] = (uint8_t)value;
++length;
}
}