Mercurial > hg > dmlib
comparison dmblitfunc.h @ 92:e5796ffce131
Fix a warning.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 02 Oct 2012 18:12:07 +0300 |
parents | c257d73cf790 |
children | 0430f484641b |
comparison
equal
deleted
inserted
replaced
91:e1e308167991 | 92:e5796ffce131 |
---|---|
230 #define DM_BLITFUNC_SRC_BYTES 1 | 230 #define DM_BLITFUNC_SRC_BYTES 1 |
231 #define DM_BLITFUNC_DST_BYTES 1 | 231 #define DM_BLITFUNC_DST_BYTES 1 |
232 #define DM_BLITFUNC_SRC_TYPE Uint8 | 232 #define DM_BLITFUNC_SRC_TYPE Uint8 |
233 #define DM_BLITFUNC_DST_TYPE Uint8 | 233 #define DM_BLITFUNC_DST_TYPE Uint8 |
234 #define DM_BLITFUNC_INNER \ | 234 #define DM_BLITFUNC_INNER \ |
235 const Uint8 q = sp[FP_GETH(xv)] + *dp; \ | 235 const int q = sp[FP_GETH(xv)] + *dp; \ |
236 *(dp++) = q < 256 ? q : 255; | 236 *(dp++) = q < 256 ? q : 255; |
237 | 237 |
238 #include "dmscaledblit.h" | 238 #include "dmscaledblit.h" |
239 | 239 |
240 // ----------------------------------------------------------------------- | 240 // ----------------------------------------------------------------------- |