compiling ClientManagerOfflineshop.cpp
ClientManagerOfflineshop.cpp:47:10: warning: unused variable 'dwOwner' [-Wunused-variable]
47 | DWORD dwOwner =0, dwDuration=0;
| ^~~~~~~
ClientManagerOfflineshop.cpp:47:22: warning: unused variable 'dwDuration' [-Wunused-variable]
47 | DWORD dwOwner =0, dwDuration=0;
| ^~~~~~~~~~
OfflineshopCache.cpp:1162:43: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat]
1161 | snprintf(szQuery, sizeof(szQuery), "INSERT INTO `player`.`offlineshop_shops` (`owner_id`, `duration`, `name`, `pos_x`, `pos_y`, `map_index`, `channel`) VALUES(%u, %u, '%s', %u, %u, %d, %d);",
| ~~
| %ld
1162 | dwOwnerID, dwDuration, szEscapeString, pos.x, pos.y, pos.lMapIndex, pos.bChannel
| ^~~~~
OfflineshopCache.cpp:1162:50: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat]
1161 | snprintf(szQuery, sizeof(szQuery), "INSERT INTO `player`.`offlineshop_shops` (`owner_id`, `duration`, `name`, `pos_x`, `pos_y`, `map_index`, `channel`) VALUES(%u, %u, '%s', %u, %u, %d, %d);",
| ~~
| %ld
1162 | dwOwnerID, dwDuration, szEscapeString, pos.x, pos.y, pos.lMapIndex, pos.bChannel
| ^~~~~
OfflineshopCache.cpp:1162:57: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
1161 | snprintf(szQuery, sizeof(szQuery), "INSERT INTO `player`.`offlineshop_shops` (`owner_id`, `duration`, `name`, `pos_x`, `pos_y`, `map_index`, `channel`) VALUES(%u, %u, '%s', %u, %u, %d, %d);",
| ~~
| %ld
1162 | dwOwnerID, dwDuration, szEscapeString, pos.x, pos.y, pos.lMapIndex, pos.bChannel
| ^~~~~~~~~~~~~
2 warnings generated.
3 warnings generated.
linking ../db