]> sigrok.org Git - libsigrok.git/commitdiff
sr: la8: Drop useless cast.
authorUwe Hermann <redacted>
Thu, 12 Jul 2012 19:39:18 +0000 (21:39 +0200)
committerUwe Hermann <redacted>
Thu, 12 Jul 2012 21:23:13 +0000 (23:23 +0200)
hardware/chronovu-la8/api.c

index 90926c00b3b595fcaa52b3f60ab897bd82ac1cc8..7dd2d145b36703afe81c59beed0a31ef6db3309a 100644 (file)
@@ -267,7 +267,7 @@ static const void *hw_dev_info_get(int dev_index, int dev_info_id)
                sr_spew("la8: %s: Returning samplerates.", __func__);
                break;
        case SR_DI_TRIGGER_TYPES:
-               info = (char *)TRIGGER_TYPES;
+               info = TRIGGER_TYPES;
                sr_spew("la8: %s: Returning trigger types: %s.", __func__,
                        TRIGGER_TYPES);
                break;