X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fhelper%2Fbinarybuffer.h;h=b035779af571b70782956b6873af13e613d6a7d7;hp=dd0d275abd1ad5e210a8b5871f14191836df1f32;hb=674141e8a7a6413cb803d90c2a20150260015f81;hpb=10aeff925936a43e873acfd0068b1eea03781051 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);