[Bug 145501] cmake error on Solaris in kdepimlibs with ldap/lber

Szombathelyi György gyurco at freemail.hu
Tue May 22 19:32:30 BST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=145501         




------- Additional Comments From gyurco freemail hu  2007-05-22 20:32 -------
SVN commit 667408 by gyurco:

Allow to compile on Solaris - the last bits. Don't close the bug till
it shows that these changes actually work - I'll write some test code, and
if it's passed, the bug should be closed finally...

CCBUG: 145501


 M  +1 -1      ber.cpp  
 M  +1 -1      ldapoperation.cpp  


--- trunk/KDE/kdepimlibs/kldap/ber.cpp #667407:667408
 @ -332,7 +332,7  @
               ber_memfree( *c );
               c++;
             }
-            ber_memfree( c2 );
+            ber_memfree( (char*) c2 );
           }
           break;
         }
--- trunk/KDE/kdepimlibs/kldap/ldapoperation.cpp #667407:667408
 @ -235,7 +235,7  @
           ldap_memfree( *tmp );
           tmp++;
         }
-        ldap_memfree( referralsp );
+        ldap_memfree( (char*) referralsp );
       }
       mMatchedDn = QString();
       if ( matcheddn ) {



More information about the Kdepim-bugs mailing list