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

List:       kde-devel
Subject:    kdelibs don't compile + patch
From:       Till Krech <till () snafu ! de>
Date:       2001-10-27 2:50:03
[Download RAW message or body]

Hi,

there is a missing cast in kdelibs/khtml/html/html_formimpl.cpp

... and here is the patch.

Greetings, Till


["html_formimpl.cpp.patch" (text/x-diff)]

*** html_formimpl.cpp	Sat Oct 27 04:40:55 2001
--- html_formimpl.cpp.fixed	Sat Oct 27 04:32:41 2001
***************
*** 1927,1933 ****
      for(int i = 0; i < l; i++) {
          if(items[i]->id() == ID_OPTION)
          {
!             if (items[i] == this)
                  return optionIndex;
              optionIndex++;
          }
--- 1927,1933 ----
      for(int i = 0; i < l; i++) {
          if(items[i]->id() == ID_OPTION)
          {
!             if (static_cast<HTMLOptionElementImpl*>(items[i]) == this)
                  return optionIndex;
              optionIndex++;
          }

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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