trace: Fix void pointer arithmetic
authorMasashi Honma <honma@ictec.co.jp>
Thu, 26 Aug 2010 15:35:55 +0000 (18:35 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 26 Aug 2010 15:35:55 +0000 (18:35 +0300)
commit9c77ad1889664f85f03ea13b629f3107189fe0cc
tree8682e455c3e36a79c0914ba131752c4a07b29a40
parent09f58c0984ce52dff8df07c7dd6bc934d01c1b1d
trace: Fix void pointer arithmetic

The arithmetic on void pointer exists in trace routine. On GNU C, it
works because void pointer size is 1, but not all compilers behave like
this. So this patch specifies the size of the pointer.
src/utils/os_unix.c