Alignment fix

llvm-svn: 198731
This commit is contained in:
Enrico Granata 2014-01-08 03:14:18 +00:00
parent 26abebbb2c
commit 29726a94ce

View File

@ -35,7 +35,7 @@ static PyObject* setCrashReporterDescription(PyObject* self, PyObject* string)
char* data = PyString_AsString(string);
if (size > 0 && data)
{
++size; // Include the NULL terminateor in allocation and memcpy()
++size; // Include the NULL terminateor in allocation and memcpy()
__crashreporter_info__ = malloc(size);
memcpy(__crashreporter_info__, data, size);
return Py_True;