]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decode/rowdata.cpp
Fix compile issues with some compiler versions
[pulseview.git] / pv / data / decode / rowdata.cpp
index a9c2e2a883b8eee89dbc518e8bb18aae25bb8607..3d250f49472eb03194d1001c6dd693c2ef644ae2 100644 (file)
@@ -104,7 +104,7 @@ const Annotation* RowData::emplace_annotation(srd_proto_data *pdata)
 {
        const srd_proto_data_annotation *const pda = (const srd_proto_data_annotation*)pdata->data;
 
-       Annotation::Class ann_class_id = (Annotation::Class)(pda->ann_class);
+       uint32_t ann_class_id = pda->ann_class;
 
        // Look up the longest annotation text to see if we have it in storage.
        // This implies that if the longest text is the same, the shorter texts