summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-12-22 15:32:37 -0500
committerKristian Høgsberg <krh@bitplanet.net>2011-12-22 15:32:37 -0500
commitbc79f1f820409fb92c158a9d2df8a99ad269018e (patch)
tree028453861743be3f0917d4b312d34f87c7f18247 /src
parent5e078bfa5a64b1d3ebf78ff2cec0a8e7daaaf983 (diff)
Rename all instances of typeof
Diffstat (limited to 'src')
-rw-r--r--src/wayland-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wayland-util.h b/src/wayland-util.h
index 8061368..944e7f0 100644
--- a/src/wayland-util.h
+++ b/src/wayland-util.h
@@ -119,7 +119,7 @@ void wl_list_insert_list(struct wl_list *list, struct wl_list *other);
#ifdef __GNUC__
#define __container_of(ptr, sample, member) \
- (typeof(sample))((char *)(ptr) - \
+ (__typeof__(sample))((char *)(ptr) - \
((char *)&(sample)->member - (char *)(sample)))
#else
#define __container_of(ptr, sample, member) \