]> Joshua Wise's Git repositories - netwatch.git/commitdiff
needs moar const
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Thu, 2 Oct 2008 22:34:06 +0000 (18:34 -0400)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Thu, 2 Oct 2008 22:34:06 +0000 (18:34 -0400)
lib/minilib.c

index 48d79484dd5cda244405a0b30c4e2555c733716a..0407d3f386e66fc500f4aa1febccc6ef109a93e8 100644 (file)
@@ -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++);
 }
This page took 0.023069 seconds and 4 git commands to generate.