diff --git a/include/aws/auth/credentials.h b/include/aws/auth/credentials.h index 7cd74912..86547297 100644 --- a/include/aws/auth/credentials.h +++ b/include/aws/auth/credentials.h @@ -277,7 +277,7 @@ struct aws_credentials_provider_ecs_options { /* * Port to query credentials from. If zero, 80/443 will be used based on whether or not tls is enabled. */ - uint16_t port; + uint32_t port; }; /** diff --git a/tests/credentials_provider_ecs_tests.c b/tests/credentials_provider_ecs_tests.c index e94941a5..dd311409 100644 --- a/tests/credentials_provider_ecs_tests.c +++ b/tests/credentials_provider_ecs_tests.c @@ -32,7 +32,7 @@ struct aws_mock_ecs_tester { struct aws_credentials *credentials; bool has_received_credentials_callback; bool has_received_shutdown_callback; - uint16_t selected_port; + uint32_t selected_port; int error_code; };