From d04db4e48cc76accc559bbb30451b25936289a0d Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 31 Mar 2016 04:16:15 +0200 Subject: Added const qualifier to the input parameter of bin2hex Signed-off-by: Haru --- src/common/strlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/strlib.h') diff --git a/src/common/strlib.h b/src/common/strlib.h index c523f5d86..36dceef2d 100644 --- a/src/common/strlib.h +++ b/src/common/strlib.h @@ -2,7 +2,7 @@ * This file is part of Hercules. * http://herc.ws - http://github.com/HerculesWS/Hercules * - * Copyright (C) 2012-2015 Hercules Dev Team + * Copyright (C) 2012-2016 Hercules Dev Team * Copyright (C) Athena Dev Teams * * Hercules is free software: you can redistribute it and/or modify @@ -125,7 +125,7 @@ struct strlib_interface { /// Produces the hexadecimal representation of the given input. /// The output buffer must be at least count*2+1 in size. /// Returns true on success, false on failure. - bool (*bin2hex_) (char* output, unsigned char* input, size_t count); + bool (*bin2hex_) (char *output, const unsigned char *input, size_t count); }; struct stringbuf_interface { -- cgit v1.2.3-60-g2f50