You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The existing signature of loadDataFromRawAddress:
void loadDataFromRawAddress(const void* rawAddress, const int length);
The use of "int" here is dangerous because we don't know what the length will be on
any platform. This is my fault, since I'm the one who introduced this API. Before much
more time elapses, we should use a type from stdint.h instead. In this case I think
uint32_t would make the most sense, as we need more than 16 bits for sure but more
than 32 would be truly insane.
It's a simple patch; any objections?
Reported by andrewhayden@chromium.org on 2014-03-26 11:56:54
The text was updated successfully, but these errors were encountered:
Originally reported on Google Code with ID 12
Reported by
andrewhayden@chromium.org
on 2014-03-26 11:56:54The text was updated successfully, but these errors were encountered: