diff options
-rw-r--r-- | src/ICElibint.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ICElibint.h b/src/ICElibint.h index cb53d83..86a5406 100644 --- a/src/ICElibint.h +++ b/src/ICElibint.h @@ -170,7 +170,7 @@ typedef struct { #define STORE_STRING(_pBuf, _string) \ { \ - CARD16 _len = strlen (_string); \ + CARD16 _len = (CARD16) strlen (_string); \ STORE_CARD16 (_pBuf, _len); \ memcpy (_pBuf, _string, _len); \ _pBuf += _len; \ |