X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/7bb29d226d3215ce817bc123225adf48183923c1..ee681ad4b4f2ace24beb4d401d425573b450bbd7:/lib/minilib.c?ds=inline diff --git a/lib/minilib.c b/lib/minilib.c index 48d7948..0407d3f 100644 --- a/lib/minilib.c +++ b/lib/minilib.c @@ -3,8 +3,8 @@ void memcpy(void *dest, const void *src, int bytes) { - char * cdest = dest; - char * csrc = src; + char *cdest = dest; + const char *csrc = src; while (bytes--) *(cdest++) = *(csrc++); }