> #define sizeof(x) ((int) sizeof(x)) > should do what you want sizeof() to do... (and is as safe as anything > like that can be said to be.) Shouldn't this be ptrdiff_t ... int might be too narrow.