aboutsummaryrefslogtreecommitdiff
path: root/test/common
diff options
context:
space:
mode:
authorColin Snover2017-01-07 15:44:06 -0600
committerColin Snover2017-01-08 13:21:10 -0600
commitb2796e65aa306f572978b5ade8343ce1357b4c04 (patch)
tree4913eb8cf5d6b5d8129e5e59a7019ade6c0d1b9f /test/common
parent2558b20cdda438bb0816791b1193776ff55aefde (diff)
downloadscummvm-rg350-b2796e65aa306f572978b5ade8343ce1357b4c04.tar.gz
scummvm-rg350-b2796e65aa306f572978b5ade8343ce1357b4c04.tar.bz2
scummvm-rg350-b2796e65aa306f572978b5ade8343ce1357b4c04.zip
COMMON: Restrict use of data access helpers
The data access helpers as written are effectively little-endian when reading from spans with value_types larger than the size of the requested data (e.g. more than 1 byte for getting a char, more than 2 bytes for getting a uint16, etc.). For now, restrict use of these methods at compile time until someone actually needs to read memory that way.
Diffstat (limited to 'test/common')
0 files changed, 0 insertions, 0 deletions