summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-02-11 10:38:55 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-02-11 12:22:21 +0100
commit016da11f3643fdce7e8caaf2c1f1e29341f101dd (patch)
tree1746555e5d7daa90c9ccec699a6eb5febabf91cf /avmedia
parentd978f5d40102a098f1faf1e98aa39ad122284299 (diff)
Drop some static_cast from long to sal_Int32
...that would just silently hide overflow in the unexpected case that the given long values do not fit into sal_Int32. (These casts had been carried over in 3270fc628b2e6a8f73ff0d1e4389d9c7595e0a50 "use OUString(Buffer) in class Edit" from the casts to xub_StrLen, aka sal_uInt16, that were present ever since 8ab086b6cc054501bfbf7ef6fa509c393691e860 "initial import".) Change-Id: I1775f44d386389f00051f11cc9d1911b10feb427 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88432 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'avmedia')
0 files changed, 0 insertions, 0 deletions