Skip to content

Commit

Permalink
fix: Avoid to cast to the underlying specific type while reading a ri…
Browse files Browse the repository at this point in the history
…dbag from the network, issue #9499
  • Loading branch information
tglman committed Sep 5, 2023
1 parent 5438119 commit 9f3c948
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ public static ORidBag readRidbag(BytesContainer bytes) {
ridbag.getDelegate().setSize(size);
for (int i = 0; i < size; i++) {
OIdentifiable record = readLinkOptimizedEmbedded(bytes);
((OEmbeddedRidBag) ridbag.getDelegate()).addInternal(record);
((ORidBagDelegate) ridbag.getDelegate()).addInternal(record);
}
} else {
long fileId = OVarIntSerializer.readAsLong(bytes);
Expand Down

0 comments on commit 9f3c948

Please sign in to comment.