[libc++] Explicitly cast in generate_canonical
authorLouis Dionne <ldionne@apple.com>
Tue, 20 Aug 2019 15:39:20 +0000 (15:39 +0000)
committerLouis Dionne <ldionne@apple.com>
Tue, 20 Aug 2019 15:39:20 +0000 (15:39 +0000)
commita47ca1ea6d32d2d99d080ec850670c1de340c525
treeb22597b671400b71cf0f7c65e55b715457f0db01
parent494a4d16809e938cae0b1cd0e0792d49f7fb054c
[libc++] Explicitly cast in generate_canonical

A new clang warning introduced in r367497 was complaining about
the change in value.

Thanks to Brian Cain for the patch.
Differential Revision: https://reviews.llvm.org/D66422

llvm-svn: 369393
libcxx/include/random