1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
$NetBSD: patch-af,v 1.1.1.1 2001/03/14 15:59:48 skrll Exp $
--- kdecore/kapp.cpp.orig Thu Feb 22 18:12:55 2001
+++ kdecore/kapp.cpp
@@ -1433,18 +1433,18 @@
setStyle(pKStyle);
}
else{
- lt_ptr_t alloc_func;
+ lt_ptr alloc_func;
if (styleStr.find("basicstyle.la",0,false)==-1)
- alloc_func=lt_dlsym(styleHandle,"allocate");
+ alloc_func=lt_dlsym((lt_dlhandle)styleHandle,"allocate");
else
- alloc_func= lt_dlsym(styleHandle,"allocateCustomTheme");
+ alloc_func= lt_dlsym((lt_dlhandle)styleHandle,"allocateCustomTheme");
if(!alloc_func){
kdWarning() << "Unable to init style plugin " << styleStr
<< "(" << lt_dlerror() << ")\n";
pKStyle = new KDEStyle;
setStyle(pKStyle);
- lt_dlclose(styleHandle);
+ lt_dlclose((lt_dlhandle)styleHandle);
styleHandle = 0;
}
else{
@@ -1467,7 +1467,7 @@
kdWarning() << "Style plugin unable to allocate style.\n";
pKStyle = new KDEStyle;
setStyle(pKStyle);
- lt_dlclose(styleHandle);
+ lt_dlclose((lt_dlhandle)styleHandle);
styleHandle = 0;
}
}
@@ -1480,7 +1480,7 @@
}
if(oldHandle){
- lt_dlclose((lt_dlhandle*)oldHandle);
+ lt_dlclose((lt_dlhandle)oldHandle);
}
if(pKStyle)
connect(pKStyle, SIGNAL(destroyed()), SLOT(kstyleDestroyed()));
|