Skip to content

Commit

Permalink
Fixed warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaderi committed Oct 29, 2024
1 parent b662353 commit 938ed24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AddressTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ void AddressTree::getAddresses(lua_State *vm) {
snprintf(key, sizeof(key), "%02X:%02X:%02X:%02X:%02X:%02X", mac[0], mac[1],
mac[2], mac[3], mac[4], mac[5]);

snprintf(val, sizeof(val), "%ld", it->second);
snprintf(val, sizeof(val), "%llu", it->second);

lua_push_str_table_entry(vm, key, val);
}
Expand Down

0 comments on commit 938ed24

Please sign in to comment.