From: Joel Holdsworth Date: Mon, 12 Mar 2012 21:04:53 +0000 (+0000) Subject: fx2lafw: Made string pointers constant X-Git-Tag: libsigrok-0.1.0~51 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=6ccfadaf667a615c00526a7fb9df0500f35cc0e3;p=libsigrok.git fx2lafw: Made string pointers constant --- diff --git a/hardware/fx2lafw/fx2lafw.h b/hardware/fx2lafw/fx2lafw.h index bbdaf33e..fccd0232 100644 --- a/hardware/fx2lafw/fx2lafw.h +++ b/hardware/fx2lafw/fx2lafw.h @@ -33,9 +33,9 @@ struct fx2lafw_profile { uint16_t vid; uint16_t pid; - char *vendor; - char *model; - char *model_version; + const char *vendor; + const char *model; + const char *model_version; int num_probes; };