Skip to content

Commit 5927147

Browse files
committed
Remove unneeded type cast
Signed-off-by: Stefan Weil <[email protected]>
1 parent aaec341 commit 5927147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ccstruct/werd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ WERD::WERD(C_BLOB_LIST *blob_list, ///< In word order
121121
while (!end_it.at_last()) {
122122
end_it.forward(); // move to last
123123
}
124-
(reinterpret_cast<C_BLOB_LIST *>(&cblobs))->assign_to_sublist(&start_it, &end_it);
124+
cblobs.assign_to_sublist(&start_it, &end_it);
125125
// move to our list
126126
blanks = clone->blanks;
127127
// fprintf(stderr,"Wrong constructor!!!!\n");

0 commit comments

Comments
 (0)