Skip to content

Commit 2c517ba

Browse files
committed
Removing warning
1 parent aaa8aa2 commit 2c517ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/refrigerator-app/silabs/src/RefrigeratorManager.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ void RefrigeratorManager::RefAndTempCtrlAttributeChangeHandler(EndpointId endpoi
117117
break;
118118

119119
default: {
120-
ChipLogDetail(AppServer, "Unhandled Refrigerator and Temprature attribute %d", attributeId);
120+
ChipLogDetail(AppServer, "Unhandled Refrigerator and Temprature attribute %ld", attributeId);
121121
return;
122122
}
123123
break;
@@ -163,7 +163,7 @@ void RefrigeratorManager::TempCtrlAttributeChangeHandler(EndpointId endpointId,
163163
break;
164164

165165
default: {
166-
ChipLogDetail(AppServer, "Unhandled Temprature controlled attribute %d", attributeId);
166+
ChipLogDetail(AppServer, "Unhandled Temprature controlled attribute %ld", attributeId);
167167
return;
168168
}
169169
break;
@@ -197,7 +197,7 @@ void RefrigeratorManager::RefAlaramAttributeChangeHandler(EndpointId endpointId,
197197
break;
198198

199199
default: {
200-
ChipLogDetail(AppServer, "Unhandled Refrigerator Alarm attribute %x", attributeId);
200+
ChipLogDetail(AppServer, "Unhandled Refrigerator Alarm attribute %ld", attributeId);
201201
return;
202202
}
203203
break;

0 commit comments

Comments
 (0)