Fredrik Fornwall
8 years ago
3 changed files with 3 additions and 28 deletions
@ -1,12 +0,0 @@ |
|||
diff -u -r ../binutils-2.24/gold/layout.cc ./gold/layout.cc
|
|||
--- ../binutils-2.24/gold/layout.cc 2013-11-04 16:33:39.000000000 +0100
|
|||
+++ ./gold/layout.cc 2014-02-12 18:03:07.000000000 +0100
|
|||
@@ -3031,7 +3031,7 @@
|
|||
gold_error(_("/dev/urandom: read failed: %s"), strerror(errno)); |
|||
else if (static_cast<size_t>(got) != uuidsz) |
|||
gold_error(_("/dev/urandom: expected %zu bytes, got %zd bytes"), |
|||
- uuidsz, got);
|
|||
+ uuidsz, (signed size_t) got);
|
|||
} |
|||
|
|||
desc.assign(buffer, uuidsz); |
@ -1,12 +0,0 @@ |
|||
diff -u -r ../binutils-2.24/gold/fileread.cc ./gold/fileread.cc
|
|||
--- ../binutils-2.24/gold/fileread.cc 2013-11-04 16:33:39.000000000 +0100
|
|||
+++ ./gold/fileread.cc 2014-02-12 18:00:06.000000000 +0100
|
|||
@@ -686,7 +686,7 @@
|
|||
if (got != want) |
|||
gold_fatal(_("%s: file too short: read only %zd of %zd bytes at %lld"), |
|||
this->filename().c_str(), |
|||
- got, want, static_cast<long long>(base + first_offset));
|
|||
+ (signed size_t) got, (signed size_t) want, static_cast<long long>(base + first_offset));
|
|||
} |
|||
|
|||
// Portable IOV_MAX. |
Loading…
Reference in new issue