From ee681ad4b4f2ace24beb4d401d425573b450bbd7 Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Thu, 2 Oct 2008 18:34:06 -0400 Subject: [PATCH] needs moar const --- lib/minilib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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++); } -- 2.43.0