Support to multi-threading and pthread interface (POSIX.1-2008) (#23)
[lunaix-os.git] / lunaix-os / kernel / ds / hstr.c
index 6c043f3513e87c625c0e3dd274ad51debba0fc16..4e64855dbeb3356b0270fa5af52c03def4a92fba 100644 (file)
@@ -4,7 +4,7 @@
 void
 hstrcpy(struct hstr* dest, struct hstr* src)
 {
-    strcpy(dest->value, src->value);
+    strcpy((char*)dest->value, src->value);
     dest->hash = src->hash;
     dest->len = src->len;
 }
\ No newline at end of file