aboutsummaryrefslogtreecommitdiff
path: root/graphics/scaler
diff options
context:
space:
mode:
authorColin Snover2017-03-30 11:27:04 -0500
committerColin Snover2017-03-30 14:22:56 -0500
commit993d83fe4b65cc30d43ceb4de38c036889a6f4ae (patch)
tree53b3d5611e74b19bb7f0abe757e46fdcf9817882 /graphics/scaler
parent09da42129374f215301d6295cd6b092d1b3e6fee (diff)
downloadscummvm-rg350-993d83fe4b65cc30d43ceb4de38c036889a6f4ae.tar.gz
scummvm-rg350-993d83fe4b65cc30d43ceb4de38c036889a6f4ae.tar.bz2
scummvm-rg350-993d83fe4b65cc30d43ceb4de38c036889a6f4ae.zip
COMMON: Reduce maximum Span size to 4GiB
Until C++11 (which introduces the z and t length modifiers), there is no consistent way to print size_t and ptrdiff_t types using printf formatting across 32-bit, LLP64, and LP64 architectures without using a cumbersome macro to select the appropriate length modifier for the target architecture. Since ScummVM engines currently need to support 32-bit targets, there is no reason at the moment to support any larger memory sizes in Span anyway. Span error output is also updated in this commit to reflect that index values are unsigned.
Diffstat (limited to 'graphics/scaler')
0 files changed, 0 insertions, 0 deletions