mirror of
https://github.com/QuasarApp/backward-cpp.git
synced 2025-04-29 20:04:32 +00:00
Merge pull request #158 from eklitzke/dwarf_file_handle
fix bad pointer comparison in libdwarf backend
This commit is contained in:
commit
c51737a75c
@ -1995,7 +1995,7 @@ private:
|
||||
|
||||
dwarf_file_t file_handle;
|
||||
file_handle.reset(open(filename_object.c_str(), O_RDONLY));
|
||||
if (file_handle < 0) {
|
||||
if (file_handle.get() < 0) {
|
||||
return r;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user