|
From: | Rob Savoye |
Subject: | Re: [Gnash-dev] action.cpp:1272: error: call of overloaded `pow(int&, |
Date: | Thu, 20 Apr 2006 12:21:04 -0600 |
User-agent: | Thunderbird 1.5 (X11/20051201) |
Bastiaan Jacques wrote:
nsPluginInstance::NewStream defines start, end and eq as unsigned ints. However, string::find() returns size_t. Comparing the start, end or eq with string::npos will always be a true expression, because npos < 0.
As changing this doesn't break anything, I just checked this patch in as well.
- rob -
[Prev in Thread] | Current Thread | [Next in Thread] |