diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2002-12-18 01:05:29 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2002-12-18 01:05:29 +0000 |
commit | fd27508ed7ce03cc85d2557b4cc7d208806ad705 (patch) | |
tree | a01a492a2ce0b2a648c4f1e7ad2bf6cca2ba912d /devel/elfio | |
parent | d3779e8b5b0453d7e703dcd85eaff47ab32f2286 (diff) | |
download | ports-fd27508ed7ce03cc85d2557b4cc7d208806ad705.tar.gz ports-fd27508ed7ce03cc85d2557b4cc7d208806ad705.zip |
Notes
Diffstat (limited to 'devel/elfio')
-rw-r--r-- | devel/elfio/files/patch-ELFIImpl.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/devel/elfio/files/patch-ELFIImpl.cpp b/devel/elfio/files/patch-ELFIImpl.cpp new file mode 100644 index 000000000000..a2fada586fac --- /dev/null +++ b/devel/elfio/files/patch-ELFIImpl.cpp @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- ELFIImpl.cpp.orig Wed Dec 18 01:52:15 2002 ++++ ELFIImpl.cpp Wed Dec 18 01:53:31 2002 +@@ -100,7 +100,7 @@ + #ifdef _MSC_VER + unsigned int buflen = std::_MIN( sizeof( Elf32_Shdr ), (unsigned int)nEntrySize ); + #else +- unsigned int buflen = std::min( sizeof( Elf32_Shdr ), (unsigned int)nEntrySize ); ++ unsigned int buflen = std::min( sizeof( Elf32_Shdr ), (size_t)nEntrySize ); + #endif + + for ( int i = 0; i < nNum; ++i ) { +@@ -127,7 +127,7 @@ + #ifdef _MSC_VER + int buflen = std::_MIN( sizeof( Elf32_Phdr ), (unsigned int)nEntrySize ); + #else +- int buflen = std::min( sizeof( Elf32_Phdr ), (unsigned int)nEntrySize ); ++ int buflen = std::min( sizeof( Elf32_Phdr ), (size_t)nEntrySize ); + #endif + + for ( int i = 0; i < nNum; ++i ) { |