aboutsummaryrefslogtreecommitdiff
path: root/devel/elfio
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-12-18 01:05:29 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-12-18 01:05:29 +0000
commitfd27508ed7ce03cc85d2557b4cc7d208806ad705 (patch)
treea01a492a2ce0b2a648c4f1e7ad2bf6cca2ba912d /devel/elfio
parentd3779e8b5b0453d7e703dcd85eaff47ab32f2286 (diff)
downloadports-fd27508ed7ce03cc85d2557b4cc7d208806ad705.tar.gz
ports-fd27508ed7ce03cc85d2557b4cc7d208806ad705.zip
Notes
Diffstat (limited to 'devel/elfio')
-rw-r--r--devel/elfio/files/patch-ELFIImpl.cpp23
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 ) {