diff --git a/core/net/psock.c b/core/net/psock.c index 458e29b6b..784c83814 100644 --- a/core/net/psock.c +++ b/core/net/psock.c @@ -30,7 +30,7 @@ * * Author: Adam Dunkels * - * $Id: psock.c,v 1.10 2010/03/24 21:03:32 adamdunkels Exp $ + * $Id: psock.c,v 1.11 2010/03/29 20:26:14 oliverschmidt Exp $ */ #include @@ -327,7 +327,7 @@ psock_init(CC_REGISTER_ARG struct psock *psock, } /*---------------------------------------------------------------------------*/ static char -copy_to_buf(char **buffer, uint16_t *bufsize, const char **str) +copy_to_buf(const uint8_t **buffer, uint16_t *bufsize, const char **str) { uint16_t len = strlen(*str); uint16_t copysize = len;