X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/644af6b41a9ecbefecb70ec4cca307974e1300c4..974b62deecb74b4407541dbb67d86010cb42f549:/lib/minilib.c diff --git a/lib/minilib.c b/lib/minilib.c index 0e5786e..677c77a 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++); }