Resolution:
Alter your code so that the data item is large enough to receive the value that is to be placed in it.