Skip to content

Commit

Permalink
Merge pull request #2620 from rouault/fix_build_solaris
Browse files Browse the repository at this point in the history
Fix build on Solaris 11.4
  • Loading branch information
rouault authored Mar 28, 2021
2 parents 79c9090 + 50fd9af commit 292943e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filemanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,7 @@ static std::string pj_get_relative_share_proj_internal_no_check() {
constexpr char dir_sep = '\\';
#else
Dl_info info;
if (!dladdr((const void *)pj_get_relative_share_proj, &info)) {
if (!dladdr((void *)pj_get_relative_share_proj, &info)) {
return std::string();
}
std::string out(info.dli_fname);
Expand Down

0 comments on commit 292943e

Please sign in to comment.