[prev in list] [next in list] [prev in thread] [next in thread]
List: gnash-commit
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r9650: Fix std:min on BSD
From: Markus Gothe <nietzsche () lysator ! liu ! se>
Date: 2008-08-30 1:49:14
Message-ID: E1KZFmH-0001zH-6X () sv ! gnu ! org
[Download RAW message or body]
------------------------------------------------------------
revno: 9650
committer: Markus Gothe <nietzsche@lysator.liu.se>
branch nick: gnash
timestamp: Sat 2008-08-30 03:49:14 +0200
message:
Fix std:min on BSD
modified:
libcore/as_environment.h
["r9650.diff" (r9650.diff)]
=== modified file 'libcore/as_environment.h'
--- a/libcore/as_environment.h 2008-08-28 22:12:35 +0000
+++ b/libcore/as_environment.h 2008-08-30 01:49:14 +0000
@@ -141,7 +141,7 @@
{
// in case count > stack size, just drop all, forget about
// exceptions...
- _stack.drop(std::min(count, _stack.size()));
+ _stack.drop(std::min(count, static_cast<size_t>(_stack.size())));
//size_t ssize = m_stack.size();
//assert ( ssize >= count );
//m_stack.resize(ssize - count);
_______________________________________________
Gnash-commit mailing list
Gnash-commit@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-commit
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic