]> Joshua Wise's Git repositories - netwatch.git/blobdiff - lib/minilib.c
needs moar const
[netwatch.git] / 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.022097 seconds and 4 git commands to generate.