Snippets for zoneminder 1.38.6 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/myh8gwl1kys1g9yrqhc3rwzc1aql1msw-zoneminder-1.38.6.drv.
-
/build/source/src/zm_local_camera.cpp:1423:70: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1423 | if ((v4l2_data.fmt.fmt.pix.width * v4l2_data.fmt.fmt.pix.height) > (width * height)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -
/build/source/src/zm_local_camera.cpp:1427:77: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1427 | } else if ((v4l2_data.fmt.fmt.pix.width * v4l2_data.fmt.fmt.pix.height) != (width * height)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -
/build/source/src/zm_zone.cpp:604:30: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 604 | if (stats.alarm_blobs_ > kBlobSensitivityWarning) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/src/zm_zone.cpp:638:22: warning: format '%d' expects argument of type 'int', but argument 7 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 638 | Debug(6, "Eliminated blob %d, %d pixels (%d,%d - %d,%d), %d current blobs", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 639 | i, bs->count, bs->lo_x, bs->lo_y, bs->hi_x, bs->hi_y, stats.alarm_blobs_); | ~ | | | size_t {aka long unsigned int} -
/build/source/src/zm_zone.cpp:648:22: warning: format '%d' expects argument of type 'int', but argument 7 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 648 | Debug(6, "Preserved blob %d, %d pixels (%d,%d - %d,%d), %d current blobs", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 649 | i, bs->count, bs->lo_x, bs->lo_y, bs->hi_x, bs->hi_y, stats.alarm_blobs_); | ~ | | | size_t {aka long unsigned int} -
/build/source/src/zms.cpp:296:25: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 8 bytes from a string of length 63 [-Wstringop-truncation] 296 | if (*auth) strncpy(auth_prefix, auth, sizeof(auth_prefix)-1); | ^