diff options
| author | Greg Hackmann <ghackmann@google.com> | 2015-02-20 11:00:14 -0800 |
|---|---|---|
| committer | Greg Hackmann <ghackmann@google.com> | 2015-02-20 11:07:38 -0800 |
| commit | 567bfb3779f238784be6d3fa9d384ecdc423ea39 (patch) | |
| tree | 690caf6a783541e6877461c908bccddae5f0abdb /libc/stdio/stdio_ext.cpp | |
| parent | c39eef71a7f66b69e2216a51d0e7fbc1796d0696 (diff) | |
Fix 64-bit benchmark build
The * flag to printf() wants an int instead of size_t, and these are
distinct types on 64-bit. To accomodate this, make the name column
width helpers return int.
In theory this truncates things, but in practice this only matters if
you have a benchmark with more than INT_MAX characters in its name (in
which case you have bigger problems).
Change-Id: I3338948c25a3a8d84f1ead2f5b457c05da8a01cf
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions
