Suppress warnings about non-literal format strings
[hmcfgusb] / culfw.h
diff --git a/culfw.h b/culfw.h
index bbe64f5..9c98eb7 100644 (file)
--- a/culfw.h
+++ b/culfw.h
@@ -32,7 +32,7 @@ struct culfw_dev {
 };
 
 struct culfw_dev *culfw_init(char *device, uint32_t speed, culfw_cb_fn cb, void *data);
-int culfw_send(struct culfw_dev *dev, char *cmd, int cmdlen);
+int culfw_send(struct culfw_dev *dev, const char *cmd, int cmdlen);
 int culfw_poll(struct culfw_dev *dev, int timeout);
 void culfw_close(struct culfw_dev *dev);
 void culfw_flush(struct culfw_dev *dev);
Impressum, Datenschutz