[llvm-commits] [llvm] r146863 - /llvm/trunk/utils/json-bench/JSONBench.cpp

Chandler Carruth chandlerc at google.com
Mon Dec 19 01:49:14 PST 2011


On Mon, Dec 19, 2011 at 1:32 AM, Manuel Klimek <klimek at google.com> wrote:

> +  unsigned MemoryBytes = MemoryMB * 1024 * 1024;


It would seem prudent for this to be size_t or intptr_t or something
assured to be large enough... I can imagine wanting values over 4gb on
64bit systems.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111219/324f544a/attachment.html>


More information about the llvm-commits mailing list