[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r10672: Keep OpenSolaris build happy
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r10672: Keep OpenSolaris build happy |
Date: |
Sun, 08 Mar 2009 18:18:43 +0100 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 10672
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Sun 2009-03-08 18:18:43 +0100
message:
Keep OpenSolaris build happy
modified:
libcore/asobj/TextSnapshot_as.cpp
=== modified file 'libcore/asobj/TextSnapshot_as.cpp'
--- a/libcore/asobj/TextSnapshot_as.cpp 2009-03-06 10:46:44 +0000
+++ b/libcore/asobj/TextSnapshot_as.cpp 2009-03-08 17:18:43 +0000
@@ -123,7 +123,7 @@
if (len == 0) return std::string();
// Start is always moved to between 0 and len - 1.
- start = std::max(start, 0);
+ start = std::max<boost::int32_t>(start, 0);
start = std::min<std::string::size_type>(len - 1, start);
// End is always moved to between start and end. We don't really care
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r10672: Keep OpenSolaris build happy,
Benjamin Wolsey <=