Save 4 bytes per CFX_ByteString where intptr_t smaller than long.
authorTom Sepez <tsepez@chromium.org>
Fri, 1 May 2015 23:04:32 +0000 (16:04 -0700)
committerTom Sepez <tsepez@chromium.org>
Fri, 1 May 2015 23:04:32 +0000 (16:04 -0700)
commit34989e42d94f0b4f982117032f29ae3cce1e1a39
tree0bba417d8c50f5465f3a8d2f7916c8ce2dbf801f
parent72fb2e8d680c697be06c4325ddc827c3989bf3c1
Save 4 bytes per CFX_ByteString where intptr_t smaller than long.

Also prevent theoretical roll-over where long smaller than intptr_t.
See bug for discussion.

BUG=pdfium:149
R=thestig@chromium.org

Review URL: https://codereview.chromium.org/1117413002
core/include/fxcrt/fx_string.h