X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fdmm%2Fut71x.c;h=ab7ac3a8741aa0d85f74cc5f5e45e1975c2a054a;hb=HEAD;hp=6dbf23a47e1cbb5ca5f4881d24d4cc1c8fd9ba92;hpb=64aa214a22fdbc4a083f3cd6bd06755e6784b96c;p=libsigrok.git diff --git a/src/dmm/ut71x.c b/src/dmm/ut71x.c index 6dbf23a4..ab7ac3a8 100644 --- a/src/dmm/ut71x.c +++ b/src/dmm/ut71x.c @@ -336,7 +336,7 @@ SR_PRIV int sr_ut71x_parse(const uint8_t *buf, float *floatval, int ret, exponent = 0; struct ut71x_info *info_local; - info_local = (struct ut71x_info *)info; + info_local = info; memset(info_local, 0, sizeof(struct ut71x_info)); if (!sr_ut71x_packet_valid(buf))