diff --git a/include/cfl/cfl_list.h b/include/cfl/cfl_list.h index 0ce85d6..963e002 100644 --- a/include/cfl/cfl_list.h +++ b/include/cfl/cfl_list.h @@ -34,7 +34,7 @@ #ifdef _WIN32 /* Windows */ #define cfl_container_of(address, type, field) ((type *)( \ - (unsigned char)(address) - \ + (unsigned char *)(address) - \ (intptr_t)(&((type *)0)->field))) #else /* Rest of the world */