fix
authorMatthias Braun <matze@braunis.de>
Thu, 6 Aug 2009 16:36:43 +0000 (16:36 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 6 Aug 2009 16:36:43 +0000 (16:36 +0000)
[r26321]

ir/stat/stat_timing.h

index 1915084..517f201 100644 (file)
@@ -53,7 +53,7 @@ static __inline timing_ticks_t __timing_ticks(void) { __asm { rdtsc } }
 
 typedef struct timeval timing_ticks_t;
 #define timing_ticks(t)              (gettimeofday(&(t), NULL))
-#define timing_ticks_init(t)         memset((t), 0, sizeof(t))
+#define timing_ticks_init(t)         memset(&(t), 0, sizeof(t))
 
 /*
  * This shamelessly stolen and modified from glibc's