X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fhelper%2Fbinarybuffer.h;h=b035779af571b70782956b6873af13e613d6a7d7;hb=refs%2Fchanges%2F92%2F3792%2F2;hp=dd0d275abd1ad5e210a8b5871f14191836df1f32;hpb=10aeff925936a43e873acfd0068b1eea03781051;p=openocd.git diff --git a/src/helper/binarybuffer.h b/src/helper/binarybuffer.h index dd0d275abd..b035779af5 100644 --- a/src/helper/binarybuffer.h +++ b/src/helper/binarybuffer.h @@ -234,7 +234,7 @@ void bit_copy_discard(struct bit_copy_queue *q); /* functions to convert to/from hex encoded buffer * used in ti-icdi driver and gdb server */ -int unhexify(char *bin, const char *hex, int count); +size_t unhexify(uint8_t *bin, const char *hex, size_t count); int hexify(char *hex, const char *bin, int count, int out_maxlen); void buffer_shr(void *_buf, unsigned buf_len, unsigned count);