Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3bfbe9a

Browse files
committed
Fixes:
First, this is because of dlopen() and dlsym() having a char *in the system prototype.Submitted by: "Martin J. Laubach" <mjl@wwx.vip.at>
1 parentd57d362 commit3bfbe9a

File tree

1 file changed

+2
-2
lines changed
  • src/backend/port/BSD44_derived

1 file changed

+2
-2
lines changed

‎src/backend/port/BSD44_derived/dl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ BSD44_derived_dlopen(const char *file, int num)
6666
#else
6767
void*vp;
6868

69-
if ((vp=dlopen(file,num))== (void*)NULL) {
69+
if ((vp=dlopen((char*)file,num))== (void*)NULL) {
7070
(void)sprintf(error_message,"dlopen (%s) failed",file);
7171
}
7272
return(vp);
@@ -87,7 +87,7 @@ BSD44_derived_dlsym(void *handle, const char *name)
8787
(void)sprintf(buf,"_%s",name);
8888
name=buf;
8989
}
90-
if ((vp=dlsym(handle,name))== (void*)NULL) {
90+
if ((vp=dlsym(handle,(char*)name))== (void*)NULL) {
9191
(void)sprintf(error_message,"dlsym (%s) failed",name);
9292
}
9393
return(vp);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp