Fixed static cast (#8603)

Fixes #8602
This commit is contained in:
alexxus 2024-09-02 18:57:21 +03:00 committed by GitHub
parent 37bc0f4c10
commit d8dc0e6f41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17030,7 +17030,7 @@ void clif_parse_CashShopReqTab(int fd, map_session_data *sd) {
p->items[p->count].itemId = client_nameid( item->nameid );
p->items[p->count].price = item->price;
p->packetLength += static_cast<decltype>(p->packetLength)>( sizeof( p->items[0] ) );
p->packetLength += static_cast<decltype(p->packetLength)>( sizeof( p->items[0] ) );
p->count++;
}