Change dap::integer backing type to int64_t
`int` may be < 64 bit, and some dap protocols use a 64 bit integer. Chnage to `int64_t` to be consistent. Fixes: #45
This commit is contained in:
@@ -167,7 +167,8 @@ class Impl : public dap::Session {
|
||||
}
|
||||
}
|
||||
|
||||
std::pair<const dap::TypeInfo*, GenericResponseHandler> response(int seq) {
|
||||
std::pair<const dap::TypeInfo*, GenericResponseHandler> response(
|
||||
int64_t seq) {
|
||||
std::unique_lock<std::mutex> lock(responseMutex);
|
||||
auto responseIt = responseMap.find(seq);
|
||||
if (responseIt == responseMap.end()) {
|
||||
@@ -252,7 +253,7 @@ class Impl : public dap::Session {
|
||||
requestMap;
|
||||
|
||||
std::mutex responseMutex;
|
||||
std::unordered_map<int,
|
||||
std::unordered_map<int64_t,
|
||||
std::pair<const dap::TypeInfo*, GenericResponseHandler>>
|
||||
responseMap;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user