Project

General

Profile

Actions

Bug #4229

closed

ForwarderStatus: counter types should be platform independent

Added by Junxiao Shi over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Management
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
0.50 h

Description

Currently, some counters in ForwarderStatus are declared as size_t type.
If NFD is compiled as 64-bit but a client program is linked with 32-bit ndn-cxx library, in case a counter exceeds 32-bit range, the client program would be unable to decode the ForwarderStatus struct.
These counters should be changed to uint64_t type.

Actions

Also available in: Atom PDF