diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-08-28 15:56:17 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-08-28 15:56:17 +0000 |
commit | 8c6f1ef33876c873ddfac7297879a8f8c69fb46e (patch) | |
tree | 3cab37824f6ef917ccadfcb34306e24c625d1483 /os/kernel | |
parent | ab68be788ecb8304cd6eb901d7ff1b1106f8d14c (diff) | |
download | ChibiOS-8c6f1ef33876c873ddfac7297879a8f8c69fb46e.tar.gz ChibiOS-8c6f1ef33876c873ddfac7297879a8f8c69fb46e.tar.bz2 ChibiOS-8c6f1ef33876c873ddfac7297879a8f8c69fb46e.zip |
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
Diffstat (limited to 'os/kernel')
-rw-r--r-- | os/kernel/include/vt.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); \
} \
} \
|