File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -648,7 +648,7 @@ sai_status_t ClientSai::waitForObjectTypeGetAvailabilityResponse(
648
648
649
649
const std::string &availability_str = fvValue (values[0 ]);
650
650
651
- *count = std::stol (availability_str);
651
+ *count = std::stoull (availability_str);
652
652
653
653
SWSS_LOG_DEBUG (" Received payload: count = %lu" , *count);
654
654
}
Original file line number Diff line number Diff line change @@ -894,7 +894,7 @@ sai_status_t RedisRemoteSaiInterface::waitForObjectTypeGetAvailabilityResponse(
894
894
895
895
const std::string &availability_str = fvValue (values[0 ]);
896
896
897
- *count = std::stol (availability_str);
897
+ *count = std::stoull (availability_str);
898
898
899
899
SWSS_LOG_DEBUG (" Received payload: count = %lu" , *count);
900
900
}
You can’t perform that action at this time.
0 commit comments