Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion proxy/http/HttpSM.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1554,7 +1554,7 @@ plugins required to work with sni_routing.
api_timer = Thread::get_hrtime();
}

hook->invoke(TS_EVENT_HTTP_READ_REQUEST_HDR + cur_hook_id, this);
hook->invoke(TS_EVENT_HTTP_READ_REQUEST_HDR + static_cast<int>(cur_hook_id), this);
if (api_timer > 0) { // true if the hook did not call TxnReenable()
this->milestone_update_api_time();
api_timer = -Thread::get_hrtime(); // set in order to track non-active callout duration
Expand Down
2 changes: 1 addition & 1 deletion src/traffic_server/InkAPITest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6551,7 +6551,7 @@ REGRESSION_TEST(SDK_API_TSMgmtGet)(RegressionTest *test, int /* atype ATS_UNUSED

#define PRINT_DIFF(_x) \
{ \
if (_x - ORIG_##_x != 0) { \
if (static_cast<int>(_x) - static_cast<int>(ORIG_##_x) != 0) { \
test_passed = false; \
SDK_RPRINT(test, "##_x", "TestCase1", TC_FAIL, "%s:Original Value = %d; New Value = %d \n", #_x, _x, ORIG_##_x); \
} \
Expand Down