Commit ab242471 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo Committed by Alexandre Julliard

dbghelp: Fix pointer cast.

parent eba704b8
...@@ -106,7 +106,7 @@ void hash_table_iter_init(const struct hash_table* ht, ...@@ -106,7 +106,7 @@ void hash_table_iter_init(const struct hash_table* ht,
void* hash_table_iter_up(struct hash_table_iter* hti); void* hash_table_iter_up(struct hash_table_iter* hti);
#define GET_ENTRY(__i, __t, __f) \ #define GET_ENTRY(__i, __t, __f) \
((__t*)((char*)(__i) - (unsigned int)(&((__t*)0)->__f))) ((__t*)((char*)(__i) - FIELD_OFFSET(__t,__f)))
extern unsigned dbghelp_options; extern unsigned dbghelp_options;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment