Skip to content

Commit

Permalink
Fix unknown type name 'u_int16_t' (#9158)
Browse files Browse the repository at this point in the history
This patch fixes color-control-server when cross compiling with clang
for arm-linux-musleabi: "color-control-server.cpp:1535:5: error:
unknown type name 'u_int16_t'; did you mean 'uint16_t'?
     u_int16_t startHue = 0x2300;"
  • Loading branch information
cktakahasi authored and pull[bot] committed Sep 17, 2021
1 parent f9d18e5 commit 1032640
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1532,7 +1532,7 @@ static void startColorLoop(EndpointId endpoint, uint8_t startFromStartHue)
uint16_t currentHue = 0;
Attributes::GetEnhancedCurrentHue(endpoint, &currentHue);

u_int16_t startHue = 0x2300;
uint16_t startHue = 0x2300;
if (startFromStartHue)
{
Attributes::GetColorLoopStartEnhancedHue(endpoint, &startHue);
Expand Down

0 comments on commit 1032640

Please sign in to comment.