[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kjs
From:       Harri Porten <porten () kde ! org>
Date:       2010-02-14 13:47:19
Message-ID: 1266155239.387756.11318.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1090027 by porten:

Silenced signedness warning.


 M  +1 -1      value.cpp  


--- trunk/KDE/kdelibs/kjs/value.cpp #1090026:1090027
@@ -221,7 +221,7 @@
     switch (type()) {
     case StringType: {
         UString s = static_cast<const StringImp*>(asCell())->value();
-        if (propertyName < s.size()) {
+        if (propertyName < static_cast<unsigned>(s.size())) {
             return jsString(s.substr(propertyName, 1));
         }
         // fall through
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic