From 8c6f1ef33876c873ddfac7297879a8f8c69fb46e Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 28 Aug 2009 15:56:17 +0000 Subject: [PATCH] Removed a new warning from GCC4.4.x. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1115 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/include/vt.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/os/kernel/include/vt.h b/os/kernel/include/vt.h index 003cffd45..9fdde5576 100644 --- a/os/kernel/include/vt.h +++ b/os/kernel/include/vt.h @@ -89,7 +89,8 @@ extern VTList vtlist; while (!(vtp = vtlist.vt_next)->vt_time) { \ vtfunc_t fn = vtp->vt_func; \ vtp->vt_func = NULL; \ - (vtp->vt_next->vt_prev = (void *)&vtlist)->vt_next = vtp->vt_next;\ + vtp->vt_next->vt_prev = (void *)&vtlist; \ + (&vtlist)->vt_next = vtp->vt_next; \ fn(vtp->vt_par); \ } \ } \