]> err.no Git - sope/commitdiff
fixed a Tiger warning
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Mon, 2 May 2005 23:00:22 +0000 (23:00 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Mon, 2 May 2005 23:00:22 +0000 (23:00 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@785 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-xml/DOM/ChangeLog
sope-xml/DOM/DOMTreeWalker.m
sope-xml/DOM/Version

index 3dc74c92e32d5c704f3508fa70aa220d650dd638..ba193a47a6c7116e4b14fa34ed3ab15c7b9d7671 100644 (file)
@@ -1,5 +1,7 @@
 2005-05-03  Helge Hess  <helge.hess@opengroupware.org>
 
+       * DOMTreeWalker.m: fixed a MacOSX 10.4 warning (v4.5.16)
+
        * renamed most implementations from DOMxx to NGDOMxx to avoid linking
          issues with Tiger WebKit (still incomplete). Note that protocols are
          still the same, so 'real' DOM apps will continue to work ;-)
index eb305a2d265411f5ddb0918593dc28b7a395c51f..eb6727cfbeaf74966f79bbbd7f856f3011b4cb29 100644 (file)
 - (id<NSObject,DOMNode>)_nextVisibleSibling {
   id<NSObject,DOMNode> node;
 
-  for (node = [[self currentNode] nextSibling];
-       node;
+  for (node = [(id<NSObject,DOMNode>)[self currentNode] nextSibling];
+       node != nil;
        node = [node nextSibling]) {
     if ([self _isVisibleNode:node])
       return node;
 - (id<NSObject,DOMNode>)_previousVisibleSibling {
   id<NSObject,DOMNode> node;
 
-  for (node = [[self currentNode] previousSibling];
-       node;
+  for (node = [(id<NSObject,DOMNode>)[self currentNode] previousSibling];
+       node != nil;
        node = [node previousSibling]) {
     if ([self _isVisibleNode:node])
       return node;
index cabd6ef30fc8c2ca8219dced4d830924894ed76f..0a8bca08b028c66e6050ed1d0523f0c70aac5617 100644 (file)
@@ -1,3 +1,3 @@
 # version file
 
-SUBMINOR_VERSION:=15
+SUBMINOR_VERSION:=16