Cleanup: Improve const correctness
[hmcfgusb] / culfw.c
diff --git a/culfw.c b/culfw.c
index 34d3eba90c29188a06e4b0469a47266c4b8f20ca..99b20cb248f97758726d8d9faf3c2ee1589a8264 100644 (file)
--- a/culfw.c
+++ b/culfw.c
@@ -110,7 +110,7 @@ out:
        return NULL;
 }
 
-int culfw_send(struct culfw_dev *dev, char *cmd, int cmdlen)
+int culfw_send(struct culfw_dev *dev, const char *cmd, int cmdlen)
 {
        int w = 0;
        int ret;
Impressum, Datenschutz