diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-28 18:26:22 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-28 18:26:22 +0000 |
commit | c63469d23d8022454adc22ce25c6a07b44bb8b01 (patch) | |
tree | a87db3021852de5ef2e16daca143a2216408db97 | |
parent | 0082944765d1cba8beed30224a2181e8b0f37744 (diff) | |
download | px4-nuttx-c63469d23d8022454adc22ce25c6a07b44bb8b01.tar.gz px4-nuttx-c63469d23d8022454adc22ce25c6a07b44bb8b01.tar.bz2 px4-nuttx-c63469d23d8022454adc22ce25c6a07b44bb8b01.zip |
Fix bad pixel type
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1337 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r-- | nuttx/graphics/nxglib/nxglib_bitblit.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/graphics/nxglib/nxglib_bitblit.h b/nuttx/graphics/nxglib/nxglib_bitblit.h index a35dd0a8b..0fb463fd6 100644 --- a/nuttx/graphics/nxglib/nxglib_bitblit.h +++ b/nuttx/graphics/nxglib/nxglib_bitblit.h @@ -167,8 +167,8 @@ #else # define NXGL_MEMSET(dest,value,width) \ { \ - FAR nx_pixel_t *_ptr = (FAR ubyte*)dest; \ - nxgl_coord_t _npix = width; \ + FAR NXGL_PIXEL_T *_ptr = (FAR NXGL_PIXEL_T*)dest; \ + nxgl_coord_t _npix = width; \ while (_npix--) \ { \ *_ptr++ = value; \ @@ -176,9 +176,9 @@ } # define NXGL_MEMCPY(dest,src,width) \ { \ - FAR nx_pixel_t *_dptr = (FAR ubyte*)dest; \ - FAR nx_pixel_t *_sptr = (FAR ubyte*)src; \ - nxgl_coord_t _npix = width; \ + FAR NXGL_PIXEL_T *_dptr = (FAR NXGL_PIXEL_T*)dest; \ + FAR NXGL_PIXEL_T *_sptr = (FAR NXGL_PIXEL_T*)src; \ + nxgl_coord_t _npix = width; \ while (_npix--) \ { \ *_dptr++ = *_sptr++; \ |