X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/42e26afa5bd5fa75849fb51d0e7918aa51cffda7..20ef12080950c328702f590b53c50e328a03b971:/lib/minilib.c?ds=sidebyside 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++); }