Skip to content

Commit 81eb184

Browse files
committed
Explicit cast
1 parent 125bca6 commit 81eb184

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DBAPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ DBdeparr* DBAPI::getStationBoard(
204204

205205
uint8_t hash[20];
206206
// hash to save RAM as the ID is >150 chars
207-
sha1(doc["zuglaufId"], hash);
207+
sha1(doc["zuglaufId"].as<String>(), hash);
208208

209209
bool match = false;
210210
for (uint8_t i = 0; i < cnt && !match; i++) {

0 commit comments

Comments
 (0)