summaryrefslogtreecommitdiff
path: root/deflate.h
diff options
context:
space:
mode:
authorSebastian Pop <s.pop@samsung.com>2019-03-05 18:27:05 +0000
committerHans Kristian Rosbach <hk-github@circlestorm.org>2019-03-08 11:33:37 +0100
commit25443e9048417ff95c9d315a3a00898c74a30f1c (patch)
treec16afc9ff27146c1b6a8ab01651bd676ab07d93f /deflate.h
parente3fb33cc9a9047afb35a77bc934475b57631427f (diff)
remove MEMCPY, replace with memcpy
Diffstat (limited to 'deflate.h')
-rw-r--r--deflate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/deflate.h b/deflate.h
index 6cba8dd..46847d5 100644
--- a/deflate.h
+++ b/deflate.h
@@ -307,7 +307,7 @@ static inline void put_short(deflate_state *s, uint16_t w) {
#if BYTE_ORDER == BIG_ENDIAN
w = ZSWAP16(w);
#endif
- MEMCPY(&(s->pending_buf[s->pending]), &w, sizeof(uint16_t));
+ memcpy(&(s->pending_buf[s->pending]), &w, sizeof(uint16_t));
s->pending += 2;
}