diff options
| author | [email protected] <[email protected]> | 2011-06-08 15:40:24 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-06-08 15:40:24 +0000 |
| commit | 64517f05c586163fab492beb4d0f3455b2d3f4d6 (patch) | |
| tree | fceba715b28f4a0335c534d116ddc197adfe80aa /include | |
| parent | a714392b700f7aada312bf19e6690ef048e6ca61 (diff) | |
update graphic driver interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1465 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'include')
| -rw-r--r-- | include/rtdef.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtdef.h b/include/rtdef.h index f896c1834d..898bf91399 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -721,7 +721,7 @@ struct rt_device_graphic_ops void (*blit_line) (const char* pixel, int x, int y, rt_size_t size); }; -#define rt_graphix_ops(device) (struct rt_device_graphic_ops*)(device->user_data) +#define rt_graphix_ops(device) ((struct rt_device_graphic_ops*)(device->user_data)) /*@}*/ /** |
