comparison src/dmgrowbuf.c @ 2296:732fa926a5ef

Constify.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 04 Jul 2019 10:50:07 +0300
parents ce1a734b016f
children 39b4e06785f5
comparison
equal deleted inserted replaced
2295:046056326041 2296:732fa926a5ef
120 120
121 return dst; 121 return dst;
122 } 122 }
123 123
124 124
125 DMGrowBuf * dmGrowBufConstCreateFrom(DMGrowBuf *dst, Uint8 *data, size_t len) 125 DMGrowBuf * dmGrowBufConstCreateFrom(DMGrowBuf *dst, Uint8 *data, const size_t len)
126 { 126 {
127 if (dmGrowBufInit(dst) != DMERR_OK) 127 if (dmGrowBufInit(dst) != DMERR_OK)
128 return NULL; 128 return NULL;
129 129
130 DM_DBG("dmGrowBufConstCreateFrom(dst=%p, data=%p, len=%" DM_PRIu_SIZE_T ")\n", 130 DM_DBG("dmGrowBufConstCreateFrom(dst=%p, data=%p, len=%" DM_PRIu_SIZE_T ")\n",