X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/644af6b41a9ecbefecb70ec4cca307974e1300c4..3309f0f4c6885cc382fb6fa77493ae68bd4eb5b0:/lib/minilib.c?ds=sidebyside 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++); }