From 8f5a3d9e3c6985f655495d133c8a2989ce91fd4d Mon Sep 17 00:00:00 2001 From: Tim Moore Date: Wed, 11 Jun 2008 16:44:45 +0200 Subject: Fix bug in dwfl_assert call. The problem was caused by ptrdiff_t being a long on x86_64 and not matching any of the overloaded definitions of dwfl_assert. --- tapsets.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tapsets.cxx') diff --git a/tapsets.cxx b/tapsets.cxx index a571ea0d..41b0b34d 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -1006,7 +1006,7 @@ struct dwflpp & module_cache, off); } while (off > 0); - dwfl_assert("dwfl_getmodules", off); + dwfl_assert("dwfl_getmodules", off == 0); module_cache.dwarf_collected = true; } } -- cgit