]> git.lyx.org Git - features.git/blobdiff - src/ParagraphMetrics.cpp
Squash warnings reported by gcc 4.9
[features.git] / src / ParagraphMetrics.cpp
index 0e37c5f5d9b2e139bba01288b1c83cf0eace2891..77e126eed279caf63b933ba35188589bac45653e 100644 (file)
@@ -105,10 +105,9 @@ size_t ParagraphMetrics::computeRowSignature(Row const & row,
                                static_cast<char_type>(row.sel_end),
                                row.begin_margin_sel,
                                row.end_margin_sel,
-                               reinterpret_cast<char_type const *>(&row.separator)[0],
-                               reinterpret_cast<char_type const *>(&row.separator)[1],
                                d.wid, d.asc, d.des };
        crc.process_bytes(b, sizeof(b));
+       crc.process_bytes(&row.separator, sizeof(row.separator));
 
        return crc.checksum();
 }