### 0001-oscam-emu.patch ###
patching file CMakeLists.txt
patching file Makefile
patching file config.h
patching file config.sh
patching file globals.h
patching file module-dvbapi.c
patching file module-emulator-biss.c
patching file module-emulator-biss.h
patching file module-emulator-cryptoworks.c
patching file module-emulator-cryptoworks.h
patching file module-emulator-director.c
patching file module-emulator-director.h
patching file module-emulator-irdeto.c
patching file module-emulator-irdeto.h
patching file module-emulator-nagravision.c
patching file module-emulator-nagravision.h
patching file module-emulator-omnicrypt.c
patching file module-emulator-omnicrypt.h
patching file module-emulator-osemu.c
patching file module-emulator-osemu.h
patching file module-emulator-powervu.c
patching file module-emulator-powervu.h
patching file module-emulator-viaccess.c
patching file module-emulator-viaccess.h
patching file module-emulator.c
patching file module-streamrelay.c
patching file module-streamrelay.h
patching file module-webif.c
patching file oscam-config-global.c
patching file oscam.c
patching file webif/config/streamrelay.html
patching file webif/config/streamrelay_emusettings.html
patching file webif/pages_index.txt
### 0002-oscam-cmake.patch ###
patching file CMakeLists.txt
### 0003-without_libcrypto.patch ###
patching file cscrypt/mdc2.c
patching file module-emulator-biss.c
patching file module-emulator-biss.h
patching file module-emulator-osemu.c
patching file module-emulator.c
### 0004-emu-drecrypt-44A0.patch ###
patching file Makefile
patching file module-emulator-drecrypt.c
patching file module-emulator-drecrypt.h
patching file module-emulator-osemu.c
patching file module-emulator.c
### 0005-cmake.patch ###
patching file CMakeLists.txt
### 0006-icam-ecm-log.patch ###
patching file oscam-ecm.c
### 0007-cak7-conax-experimental.patch ###
patching file csctapi/icc_async.c
patching file csctapi/icc_async.h
patching file csctapi/ifd_pcsc.c
patching file globals.h
patching file module-emulator.c
patching file module-webif.c
patching file oscam-chk.c
patching file oscam-config-reader.c
patching file oscam-emm.c
patching file oscam-reader.c
patching file oscam-reader.h
patching file oscam.c
patching file reader-common.c
patching file reader-conax.c
patching file reader-nagra-common.c
patching file reader-nagra-common.h
patching file reader-nagra.c
patching file reader-nagracak7.c
patching file reader-nagracak7.h
patching file webif/entitlements/entitlements_bit.html
patching file webif/pages_index.txt
patching file webif/readerconfig/readerconfig_cccambit.html
patching file webif/readerconfig/readerconfig_cwpk.html
patching file webif/readerconfig/readerconfig_hwreader.html
patching file webif/readerconfig/readerconfig_hwreader_conax.html
patching file webif/readerconfig/readerconfig_hwreader_nagra.html
patching file webif/readerconfig/readerconfig_hwreader_nagracak7.html
patching file webif/readerconfig/readerconfig_nagrareadbit.html
patching file webif/readerconfig/readerconfig_ncd524bit.html
patching file webif/readerconfig/readerconfig_ncd525bit.html
### 0008-irdeto-l2b-M7-experimental-v2.patch ###
patching file globals.h
patching file module-webif.c
patching file oscam-config-reader.c
patching file oscam-reader.c
patching file reader-irdeto.c
patching file webif/readerconfig/readerconfig_hwreader_irdeto.html
######
-- The C compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: openwrt-sdk-22.03.5-ramips-mt7620_gcc-11.2.0_musl.Linux-x86_64/staging_dir/toolchain-mipsel_24kc_gcc-11.2.0_musl/bin/mipsel-openwrt-linux-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Unknown cross system name: <Linux>
-- Looking for pthread.h
-- Looking for pthread.h - found
--   pthread found. Adding pthread support 
--  LIBCRYTO NOT FOUND OR DISABLED NO SSL SUPPORT POSSIBLE
--  SSL IS NOT INCLUDED IN THIS COMPILATION
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found OpenSSL: openwrt-sdk-22.03.5-ramips-mt7620_gcc-11.2.0_musl.Linux-x86_64/staging_dir/host/lib/libcrypto.a (found version "2.0.0")
-- SSL REQUESTED BUT OPENSSL or LYBCRYPTO NOT FOUND !!
-- Looking for time.h
-- Looking for time.h - found
--   librt found (needed by libusb).
-- Looking for openwrt-sdk-22.03.5-ramips-mt7620_gcc-11.2.0_musl.Linux-x86_64/staging_dir/host/include/libusb-1.0/libusb.h
-- Looking for openwrt-sdk-22.03.5-ramips-mt7620_gcc-11.2.0_musl.Linux-x86_64/staging_dir/host/include/libusb-1.0/libusb.h - found
--   libusb 1.0 found (openwrt-sdk-22.03.5-ramips-mt7620_gcc-11.2.0_musl.Linux-x86_64/staging_dir/host/lib/libusb-1.0.a). Adding smartreader support 
Disable HAVE_DVBAPI
Enable CS_ANTICASC
Disable MODULE_MONITOR
Enable CS_CACHEEX
Enable CS_CACHEEX_AIO
Enable CW_CYCLE_CHECK
Enable IPV6SUPPORT
Enable MODULE_RADEGAST
Enable MODULE_CONSTCW
Disable READER_TONGFANG
Disable READER_GRIFFIN
Disable READER_DGCRYPT
Disable CARDREADER_INTERNAL
Enable CARDREADER_SMARGO
Enable CARDREADER_STINGER
HOSTCC	webif/pages_gen
GEN	webif/pages.c
GEN	Compressed 458816 template bytes into 173094 bytes. 285722 saved bytes (62.27%).
-- The CXX compiler identification is GNU 11.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: openwrt-sdk-22.03.5-ramips-mt7620_gcc-11.2.0_musl.Linux-x86_64/staging_dir/toolchain-mipsel_24kc_gcc-11.2.0_musl/bin/mipsel-openwrt-linux-c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for math.h
-- Looking for math.h - found
-- Utils: operating system: OpenWRT-mt7620
-- Utils: target system: openwrt-mipsel_cak7-l2b_(samur)
--  utils use static libusb from selected LIBUSBDIR functions
-- 
-- 
--   operating system: OpenWRT-mt7620
--   target system: openwrt-mipsel_cak7-l2b_(samur)
--   revision: 11764-801
--   commit: 344ea3ee
--   use built-in crypt functions
--   use system pthread functions
--   You selected to enable static libusb
--   use static libusb from selected LIBUSBDIR functions
--   Compile with EMU support
-- 
-- Configuring done (16.1s)
-- Generating done (0.0s)
-- Build files have been written to: oscam/build
ninja: Entering directory `oscam/build'
[1/156] cd oscam/build && touch oscam/oscam-log.c
[2/156] Building C object CMakeFiles/csmodules.dir/module-camd33.c.o
[3/156] Building C object CMakeFiles/csmodules.dir/module-anticasc.c.o
In file included from oscam/globals.h:2552,
                 from oscam/module-anticasc.c:4:
oscam/module-anticasc.c: In function 'insert_zaplist':
oscam/module-anticasc.c:440:53: warning: format '%ld' expects argument of type 'long int', but argument 9 has type 'time_t' {aka 'long long int'} [-Wformat=]
  440 |                                 cs_log_dbg(D_TRACE, "[zaplist] update Entry [%i] for Client: %s  %04X@%06X/%04X/%04X TIME: %ld Diff: %ld zcw: %i(%i)", k, username(client), er->caid, er->prid, er->chid, er->srvid, zaptime, zaptime-client->client_zap_list[k].lasttime, zap_caid_weight, zap_caid_weight*2);
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                ~~~~~~~
      |                                                                                                                                                                                                                      |
      |                                                                                                                                                                                                                      time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-anticasc.c:440:126: note: format string is defined here
  440 |                                 cs_log_dbg(D_TRACE, "[zaplist] update Entry [%i] for Client: %s  %04X@%06X/%04X/%04X TIME: %ld Diff: %ld zcw: %i(%i)", k, username(client), er->caid, er->prid, er->chid, er->srvid, zaptime, zaptime-client->client_zap_list[k].lasttime, zap_caid_weight, zap_caid_weight*2);
      |                                                                                                                            ~~^
      |                                                                                                                              |
      |                                                                                                                              long int
      |                                                                                                                            %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-anticasc.c:4:
oscam/module-anticasc.c:440:53: warning: format '%ld' expects argument of type 'long int', but argument 10 has type 'time_t' {aka 'long long int'} [-Wformat=]
  440 |                                 cs_log_dbg(D_TRACE, "[zaplist] update Entry [%i] for Client: %s  %04X@%06X/%04X/%04X TIME: %ld Diff: %ld zcw: %i(%i)", k, username(client), er->caid, er->prid, er->chid, er->srvid, zaptime, zaptime-client->client_zap_list[k].lasttime, zap_caid_weight, zap_caid_weight*2);
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                                                                                                                                                      |
      |                                                                                                                                                                                                                                      time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-anticasc.c:440:136: note: format string is defined here
  440 |                                 cs_log_dbg(D_TRACE, "[zaplist] update Entry [%i] for Client: %s  %04X@%06X/%04X/%04X TIME: %ld Diff: %ld zcw: %i(%i)", k, username(client), er->caid, er->prid, er->chid, er->srvid, zaptime, zaptime-client->client_zap_list[k].lasttime, zap_caid_weight, zap_caid_weight*2);
      |                                                                                                                                      ~~^
      |                                                                                                                                        |
      |                                                                                                                                        long int
      |                                                                                                                                      %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-anticasc.c:4:
oscam/module-anticasc.c:464:53: warning: format '%ld' expects argument of type 'long int', but argument 9 has type 'time_t' {aka 'long long int'} [-Wformat=]
  464 |                                 cs_log_dbg(D_TRACE, "[zaplist] new Entry [%i] for Client: %s  %04X@%06X/%04X/%04X TIME: %ld", k, username(client), er->caid, er->prid, er->chid, er->srvid, zaptime);
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                ~~~~~~~
      |                                                                                                                                                                                             |
      |                                                                                                                                                                                             time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-anticasc.c:464:123: note: format string is defined here
  464 |                                 cs_log_dbg(D_TRACE, "[zaplist] new Entry [%i] for Client: %s  %04X@%06X/%04X/%04X TIME: %ld", k, username(client), er->caid, er->prid, er->chid, er->srvid, zaptime);
      |                                                                                                                         ~~^
      |                                                                                                                           |
      |                                                                                                                           long int
      |                                                                                                                         %lld
[4/156] Building C object CMakeFiles/csmodules.dir/module-camd35-cacheex.c.o
[5/156] Building C object CMakeFiles/csmodules.dir/module-cacheex.c.o
[6/156] Building C object CMakeFiles/csmodules.dir/module-camd35.c.o
[7/156] Building C object CMakeFiles/csmodules.dir/module-cccam-cacheex.c.o
[8/156] Building C object CMakeFiles/csmodules.dir/module-constcw.c.o
[9/156] Building C object CMakeFiles/csmodules.dir/module-csp.c.o
[10/156] Building C object CMakeFiles/csmodules.dir/module-cccshare.c.o
[11/156] Building C object CMakeFiles/csmodules.dir/module-dvbapi-azbox.c.o
[12/156] Building C object CMakeFiles/csmodules.dir/module-dvbapi-chancache.c.o
[13/156] Building C object CMakeFiles/csmodules.dir/module-dvbapi-coolapi-legacy.c.o
[14/156] Building C object CMakeFiles/csmodules.dir/module-cw-cycle-check.c.o
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c: In function 'cleanupcwcycle':
oscam/module-cw-cycle-check.c:166:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=]
  166 |                 cs_log_dbg(D_CWC, "cyclecheck [Cleanup] diff: %ld kct: %i", now - currentnode->time, kct);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                 |
      |                                                                                 time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:166:65: note: format string is defined here
  166 |                 cs_log_dbg(D_CWC, "cyclecheck [Cleanup] diff: %ld kct: %i", now - currentnode->time, kct);
      |                                                               ~~^
      |                                                                 |
      |                                                                 long int
      |                                                               %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c: In function 'checkcwcycle_int':
oscam/module-cw-cycle-check.c:278:67: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=]
  278 |                                                 cs_log_dbg(D_CWC, "cyclecheck [Dump Stored CW] Client: %s EA: %s CW: %s Time: %ld", user, cwc_ecmf, cwc_cw, cwc->time);
      |                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                          ~~~~~~~~~
      |                                                                                                                                                                |
      |                                                                                                                                                                time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:278:129: note: format string is defined here
  278 |                                                 cs_log_dbg(D_CWC, "cyclecheck [Dump Stored CW] Client: %s EA: %s CW: %s Time: %ld", user, cwc_ecmf, cwc_cw, cwc->time);
      |                                                                                                                               ~~^
      |                                                                                                                                 |
      |                                                                                                                                 long int
      |                                                                                                                               %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:279:67: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=]
  279 |                                                 cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                        ~~~
      |                                                                                                                                                                         |
      |                                                                                                                                                                         time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:279:129: note: format string is defined here
  279 |                                                 cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                                                                               ~~^
      |                                                                                                                                 |
      |                                                                                                                                 long int
      |                                                                                                                               %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:279:67: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=]
  279 |                                                 cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             ~~~~~~~~~~~~~~~
      |                                                                                                                                                                                  |
      |                                                                                                                                                                                  time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:279:143: note: format string is defined here
  279 |                                                 cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                                                                                             ~~^
      |                                                                                                                                               |
      |                                                                                                                                               long int
      |                                                                                                                                             %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:282:75: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=]
  282 |                                                         cs_log_dbg(D_CWC, "cyclecheck [Same CW but much too late] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                        ~~~
      |                                                                                                                                                                                            |
      |                                                                                                                                                                                            time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:282:148: note: format string is defined here
  282 |                                                         cs_log_dbg(D_CWC, "cyclecheck [Same CW but much too late] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                                                                                                  ~~^
      |                                                                                                                                                    |
      |                                                                                                                                                    long int
      |                                                                                                                                                  %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:282:75: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=]
  282 |                                                         cs_log_dbg(D_CWC, "cyclecheck [Same CW but much too late] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             ~~~~~~~~~~~~~~~
      |                                                                                                                                                                                                     |
      |                                                                                                                                                                                                     time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:282:162: note: format string is defined here
  282 |                                                         cs_log_dbg(D_CWC, "cyclecheck [Same CW but much too late] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                                                                                                                ~~^
      |                                                                                                                                                                  |
      |                                                                                                                                                                  long int
      |                                                                                                                                                                %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:304:67: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=]
  304 |                                                 cs_log_dbg(D_CWC, "cyclecheck [Dump Stored CW] Client: %s EA: %s CW: %s Time: %ld", user, cwc_ecmf, cwc_cw, cwc->time);
      |                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                          ~~~~~~~~~
      |                                                                                                                                                                |
      |                                                                                                                                                                time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:304:129: note: format string is defined here
  304 |                                                 cs_log_dbg(D_CWC, "cyclecheck [Dump Stored CW] Client: %s EA: %s CW: %s Time: %ld", user, cwc_ecmf, cwc_cw, cwc->time);
      |                                                                                                                               ~~^
      |                                                                                                                                 |
      |                                                                                                                                 long int
      |                                                                                                                               %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:305:67: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=]
  305 |                                                 cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                        ~~~
      |                                                                                                                                                                         |
      |                                                                                                                                                                         time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:305:129: note: format string is defined here
  305 |                                                 cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                                                                               ~~^
      |                                                                                                                                 |
      |                                                                                                                                 long int
      |                                                                                                                               %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:305:67: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=]
  305 |                                                 cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             ~~~~~~~~~~~~~~~
      |                                                                                                                                                                                  |
      |                                                                                                                                                                                  time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:305:143: note: format string is defined here
  305 |                                                 cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                                                                                             ~~^
      |                                                                                                                                               |
      |                                                                                                                                               long int
      |                                                                                                                                             %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:308:75: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=]
  308 |                                                         cs_log_dbg(D_CWC, "cyclecheck [Same CW but much too late] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                        ~~~
      |                                                                                                                                                                                            |
      |                                                                                                                                                                                            time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:308:148: note: format string is defined here
  308 |                                                         cs_log_dbg(D_CWC, "cyclecheck [Same CW but much too late] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                                                                                                  ~~^
      |                                                                                                                                                    |
      |                                                                                                                                                    long int
      |                                                                                                                                                  %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:308:75: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=]
  308 |                                                         cs_log_dbg(D_CWC, "cyclecheck [Same CW but much too late] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             ~~~~~~~~~~~~~~~
      |                                                                                                                                                                                                     |
      |                                                                                                                                                                                                     time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:308:162: note: format string is defined here
  308 |                                                         cs_log_dbg(D_CWC, "cyclecheck [Same CW but much too late] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                                                                                                                ~~^
      |                                                                                                                                                                  |
      |                                                                                                                                                                  long int
      |                                                                                                                                                                %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:364:67: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=]
  364 |                                                 cs_log_dbg(D_CWC, "cyclecheck [Valid CW 0 Cycle] Client: %s EA: %s Timediff: %ld Stage: %i Cycletime: %i dyncycletime: %i nextCycleCW = CW%i from Reader: %s", user, er_ecmf, now - cwc->time, cwc->stage, cwc->cycletime, cwc->dyncycletime, cwc->nextcyclecw, reader);
      |                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                 ~~~~~~~~~~~~~~~
      |                                                                                                                                                                                                                                   |
      |                                                                                                                                                                                                                                   time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:364:128: note: format string is defined here
  364 |                                                 cs_log_dbg(D_CWC, "cyclecheck [Valid CW 0 Cycle] Client: %s EA: %s Timediff: %ld Stage: %i Cycletime: %i dyncycletime: %i nextCycleCW = CW%i from Reader: %s", user, er_ecmf, now - cwc->time, cwc->stage, cwc->cycletime, cwc->dyncycletime, cwc->nextcyclecw, reader);
      |                                                                                                                              ~~^
      |                                                                                                                                |
      |                                                                                                                                long int
      |                                                                                                                              %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:372:67: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=]
  372 |                                                 cs_log_dbg(D_CWC, "cyclecheck [Valid CW 1 Cycle] Client: %s EA: %s Timediff: %ld Stage: %i Cycletime: %i dyncycletime: %i nextCycleCW = CW%i from Reader: %s", user, er_ecmf, now - cwc->time, cwc->stage, cwc->cycletime, cwc->dyncycletime, cwc->nextcyclecw, reader);
      |                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                 ~~~~~~~~~~~~~~~
      |                                                                                                                                                                                                                                   |
      |                                                                                                                                                                                                                                   time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:372:128: note: format string is defined here
  372 |                                                 cs_log_dbg(D_CWC, "cyclecheck [Valid CW 1 Cycle] Client: %s EA: %s Timediff: %ld Stage: %i Cycletime: %i dyncycletime: %i nextCycleCW = CW%i from Reader: %s", user, er_ecmf, now - cwc->time, cwc->stage, cwc->cycletime, cwc->dyncycletime, cwc->nextcyclecw, reader);
      |                                                                                                                              ~~^
      |                                                                                                                                |
      |                                                                                                                                long int
      |                                                                                                                              %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:374:59: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=]
  374 |                                         cs_log_dbg(D_CWC, "cyclecheck [Dump Stored CW] Client: %s EA: %s CW: %s Time: %ld", user, cwc_ecmf, cwc_cw, cwc->time);
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                          ~~~~~~~~~
      |                                                                                                                                                        |
      |                                                                                                                                                        time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:374:121: note: format string is defined here
  374 |                                         cs_log_dbg(D_CWC, "cyclecheck [Dump Stored CW] Client: %s EA: %s CW: %s Time: %ld", user, cwc_ecmf, cwc_cw, cwc->time);
      |                                                                                                                       ~~^
      |                                                                                                                         |
      |                                                                                                                         long int
      |                                                                                                                       %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:375:59: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=]
  375 |                                         cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                        ~~~
      |                                                                                                                                                                 |
      |                                                                                                                                                                 time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:375:121: note: format string is defined here
  375 |                                         cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                                                                       ~~^
      |                                                                                                                         |
      |                                                                                                                         long int
      |                                                                                                                       %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:375:59: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=]
  375 |                                         cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             ~~~~~~~~~~~~~~~
      |                                                                                                                                                                          |
      |                                                                                                                                                                          time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:375:135: note: format string is defined here
  375 |                                         cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                                                                                     ~~^
      |                                                                                                                                       |
      |                                                                                                                                       long int
      |                                                                                                                                     %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:407:69: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=]
  407 |                                                 { cs_log_dbg(D_CWC, "cyclecheck [ATTENTION!! NON Valid CW] Client: %s EA: %s Timediff: %ld Stage: %i Cycletime: %i dyncycletime: %i nextCycleCW = CW%i from Reader: %s", user, er_ecmf, now - cwc->time, cwc->stage, cwc->cycletime, cwc->dyncycletime, cwc->nextcyclecw, reader); }
      |                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                 ~~~~~~~~~~~~~~~
      |                                                                                                                                                                                                                                             |
      |                                                                                                                                                                                                                                             time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:407:138: note: format string is defined here
  407 |                                                 { cs_log_dbg(D_CWC, "cyclecheck [ATTENTION!! NON Valid CW] Client: %s EA: %s Timediff: %ld Stage: %i Cycletime: %i dyncycletime: %i nextCycleCW = CW%i from Reader: %s", user, er_ecmf, now - cwc->time, cwc->stage, cwc->cycletime, cwc->dyncycletime, cwc->nextcyclecw, reader); }
      |                                                                                                                                        ~~^
      |                                                                                                                                          |
      |                                                                                                                                          long int
      |                                                                                                                                        %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:409:69: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=]
  409 |                                                 { cs_log_dbg(D_CWC, "cyclecheck [ATTENTION!! NON Valid CW Cycle] NO CW Cycle detected! Client: %s EA: %s Timediff: %ld Stage: %i Cycletime: %i dyncycletime: %i nextCycleCW = CW%i from Reader: %s", user, er_ecmf, now - cwc->time, cwc->stage, cwc->cycletime, cwc->dyncycletime, cwc->nextcyclecw, reader); }
      |                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                 ~~~~~~~~~~~~~~~
      |                                                                                                                                                                                                                                                                         |
      |                                                                                                                                                                                                                                                                         time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:409:166: note: format string is defined here
  409 |                                                 { cs_log_dbg(D_CWC, "cyclecheck [ATTENTION!! NON Valid CW Cycle] NO CW Cycle detected! Client: %s EA: %s Timediff: %ld Stage: %i Cycletime: %i dyncycletime: %i nextCycleCW = CW%i from Reader: %s", user, er_ecmf, now - cwc->time, cwc->stage, cwc->cycletime, cwc->dyncycletime, cwc->nextcyclecw, reader); }
      |                                                                                                                                                                    ~~^
      |                                                                                                                                                                      |
      |                                                                                                                                                                      long int
      |                                                                                                                                                                    %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:410:59: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=]
  410 |                                         cs_log_dbg(D_CWC, "cyclecheck [Dump Stored CW] Client: %s EA: %s CW: %s Time: %ld", user, cwc_ecmf, cwc_cw, cwc->time);
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                          ~~~~~~~~~
      |                                                                                                                                                        |
      |                                                                                                                                                        time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:410:121: note: format string is defined here
  410 |                                         cs_log_dbg(D_CWC, "cyclecheck [Dump Stored CW] Client: %s EA: %s CW: %s Time: %ld", user, cwc_ecmf, cwc_cw, cwc->time);
      |                                                                                                                       ~~^
      |                                                                                                                         |
      |                                                                                                                         long int
      |                                                                                                                       %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:411:59: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=]
  411 |                                         cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                        ~~~
      |                                                                                                                                                                 |
      |                                                                                                                                                                 time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:411:121: note: format string is defined here
  411 |                                         cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                                                                       ~~^
      |                                                                                                                         |
      |                                                                                                                         long int
      |                                                                                                                       %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:411:59: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=]
  411 |                                         cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             ~~~~~~~~~~~~~~~
      |                                                                                                                                                                          |
      |                                                                                                                                                                          time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:411:135: note: format string is defined here
  411 |                                         cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time);
      |                                                                                                                                     ~~^
      |                                                                                                                                       |
      |                                                                                                                                       long int
      |                                                                                                                                     %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:458:75: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=]
  458 |                                                         cs_log_dbg(D_CWC, "cyclecheck [Set Stage 1] %s Cycletime: %i Lockdiff: %ld", cwc_ecmf, cwc->cycletime, now - cwc->locktime);
      |                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                            ~~~~~~~~~~~~~~~~~~~
      |                                                                                                                                                                    |
      |                                                                                                                                                                    time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:458:130: note: format string is defined here
  458 |                                                         cs_log_dbg(D_CWC, "cyclecheck [Set Stage 1] %s Cycletime: %i Lockdiff: %ld", cwc_ecmf, cwc->cycletime, now - cwc->locktime);
      |                                                                                                                                ~~^
      |                                                                                                                                  |
      |                                                                                                                                  long int
      |                                                                                                                                %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:473:75: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=]
  473 |                                                         cs_log_dbg(D_CWC, "cyclecheck [Set Stage 2] %s Cycletime: %i Lockdiff: %ld", cwc_ecmf, cwc->cycletime, now - cwc->locktime);
      |                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                            ~~~~~~~~~~~~~~~~~~~
      |                                                                                                                                                                    |
      |                                                                                                                                                                    time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:473:130: note: format string is defined here
  473 |                                                         cs_log_dbg(D_CWC, "cyclecheck [Set Stage 2] %s Cycletime: %i Lockdiff: %ld", cwc_ecmf, cwc->cycletime, now - cwc->locktime);
      |                                                                                                                                ~~^
      |                                                                                                                                  |
      |                                                                                                                                  long int
      |                                                                                                                                %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:501:83: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=]
  501 |                                                                 cs_log_dbg(D_CWC, "cyclecheck [Set Stage 3] %s Cycletime: %i Lockdiff: %ld nextCycleCW = CW%i", cwc_ecmf, cwc->cycletime, now - cwc->locktime, cwc->nextcyclecw);
      |                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                            ~~~~~~~~~~~~~~~~~~~
      |                                                                                                                                                                                               |
      |                                                                                                                                                                                               time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:501:138: note: format string is defined here
  501 |                                                                 cs_log_dbg(D_CWC, "cyclecheck [Set Stage 3] %s Cycletime: %i Lockdiff: %ld nextCycleCW = CW%i", cwc_ecmf, cwc->cycletime, now - cwc->locktime, cwc->nextcyclecw);
      |                                                                                                                                        ~~^
      |                                                                                                                                          |
      |                                                                                                                                          long int
      |                                                                                                                                        %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:534:75: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=]
  534 |                                                         cs_log_dbg(D_CWC, "cyclecheck [Back to Stage 3] %s Cycletime: %i Lockdiff: %ld nextCycleCW = CW%i", cwc_ecmf, cwc->cycletime, now - cwc->locktime, cwc->nextcyclecw);
      |                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                            ~~~~~~~~~~~~~~~~~~~
      |                                                                                                                                                                                           |
      |                                                                                                                                                                                           time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:534:134: note: format string is defined here
  534 |                                                         cs_log_dbg(D_CWC, "cyclecheck [Back to Stage 3] %s Cycletime: %i Lockdiff: %ld nextCycleCW = CW%i", cwc_ecmf, cwc->cycletime, now - cwc->locktime, cwc->nextcyclecw);
      |                                                                                                                                    ~~^
      |                                                                                                                                      |
      |                                                                                                                                      long int
      |                                                                                                                                    %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:544:83: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=]
  544 |                                                                 cs_log_dbg(D_CWC, "cyclecheck [Back to Stage 1] too much cyclefailure, maybe cycletime not correct %s Cycletime: %i Lockdiff: %ld nextCycleCW = CW%i", cwc_ecmf, cwc->cycletime, now - cwc->locktime, cwc->nextcyclecw);
      |                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                            ~~~~~~~~~~~~~~~~~~~
      |                                                                                                                                                                                                                                                      |
      |                                                                                                                                                                                                                                                      time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:544:193: note: format string is defined here
  544 |                                                                 cs_log_dbg(D_CWC, "cyclecheck [Back to Stage 1] too much cyclefailure, maybe cycletime not correct %s Cycletime: %i Lockdiff: %ld nextCycleCW = CW%i", cwc_ecmf, cwc->cycletime, now - cwc->locktime, cwc->nextcyclecw);
      |                                                                                                                                                                                               ~~^
      |                                                                                                                                                                                                 |
      |                                                                                                                                                                                                 long int
      |                                                                                                                                                                                               %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:563:59: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=]
  563 |                                         cs_log_dbg(D_CWC, "cyclecheck [Ignore this EA] for LearningStages because of locktime EA: %s Lockdiff: %ld", cwc_ecmf, now - cwc->locktime);
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            ~~~~~~~~~~~~~~~~~~~
      |                                                                                                                                                                    |
      |                                                                                                                                                                    time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:563:146: note: format string is defined here
  563 |                                         cs_log_dbg(D_CWC, "cyclecheck [Ignore this EA] for LearningStages because of locktime EA: %s Lockdiff: %ld", cwc_ecmf, now - cwc->locktime);
      |                                                                                                                                                ~~^
      |                                                                                                                                                  |
      |                                                                                                                                                  long int
      |                                                                                                                                                %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:640:51: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=]
  640 |                                 cs_log_dbg(D_CWC, "cyclecheck [Store New Entry] %s Time: %ld Stage: %i Cycletime: %i Locktime: %ld", er_ecmf, new->time, new->stage, new->cycletime, new->locktime);
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~           ~~~~~~~~~
      |                                                                                                                                                  |
      |                                                                                                                                                  time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:640:92: note: format string is defined here
  640 |                                 cs_log_dbg(D_CWC, "cyclecheck [Store New Entry] %s Time: %ld Stage: %i Cycletime: %i Locktime: %ld", er_ecmf, new->time, new->stage, new->cycletime, new->locktime);
      |                                                                                          ~~^
      |                                                                                            |
      |                                                                                            long int
      |                                                                                          %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:640:51: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=]
  640 |                                 cs_log_dbg(D_CWC, "cyclecheck [Store New Entry] %s Time: %ld Stage: %i Cycletime: %i Locktime: %ld", er_ecmf, new->time, new->stage, new->cycletime, new->locktime);
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                  ~~~~~~~~~~~~~
      |                                                                                                                                                                                         |
      |                                                                                                                                                                                         time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:640:130: note: format string is defined here
  640 |                                 cs_log_dbg(D_CWC, "cyclecheck [Store New Entry] %s Time: %ld Stage: %i Cycletime: %i Locktime: %ld", er_ecmf, new->time, new->stage, new->cycletime, new->locktime);
      |                                                                                                                                ~~^
      |                                                                                                                                  |
      |                                                                                                                                  long int
      |                                                                                                                                %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cw-cycle-check.c:3:
oscam/module-cw-cycle-check.c:679:35: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=]
  679 |                 cs_log_dbg(D_CWC, "cyclecheck [Update Entry and add on top] %s Time: %ld Stage: %i Cycletime: %i", er_ecmf, cwc->time, cwc->stage, cwc->cycletime);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~           ~~~~~~~~~
      |                                                                                                                                |
      |                                                                                                                                time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cw-cycle-check.c:679:88: note: format string is defined here
  679 |                 cs_log_dbg(D_CWC, "cyclecheck [Update Entry and add on top] %s Time: %ld Stage: %i Cycletime: %i", er_ecmf, cwc->time, cwc->stage, cwc->cycletime);
      |                                                                                      ~~^
      |                                                                                        |
      |                                                                                        long int
      |                                                                                      %lld
[15/156] Building C object CMakeFiles/csmodules.dir/module-dvbapi-coolapi.c.o
[16/156] Building C object CMakeFiles/csmodules.dir/module-dvbapi-mca.c.o
[17/156] Building C object CMakeFiles/csmodules.dir/module-dvbapi-stapi.c.o
[18/156] Building C object CMakeFiles/csmodules.dir/module-dvbapi-stapi5.c.o
[19/156] Building C object CMakeFiles/csmodules.dir/module-dvbapi.c.o
[20/156] Building C object CMakeFiles/csmodules.dir/module-cccam.c.o
In file included from oscam/globals.h:2552,
                 from oscam/module-cccam.c:3:
oscam/module-cccam.c: In function 'cc_cli_connect':
oscam/module-cccam.c:4796:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=]
 4796 |         cs_log_dbg(D_READER, "cccam: last_s=%ld, last_g=%ld", rdr->last_s, rdr->last_g);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~
      |                                                                  |
      |                                                                  time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cccam.c:4796:47: note: format string is defined here
 4796 |         cs_log_dbg(D_READER, "cccam: last_s=%ld, last_g=%ld", rdr->last_s, rdr->last_g);
      |                                             ~~^
      |                                               |
      |                                               long int
      |                                             %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-cccam.c:3:
oscam/module-cccam.c:4796:30: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=]
 4796 |         cs_log_dbg(D_READER, "cccam: last_s=%ld, last_g=%ld", rdr->last_s, rdr->last_g);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~               ~~~~~~~~~~~
      |                                                                               |
      |                                                                               time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-cccam.c:4796:59: note: format string is defined here
 4796 |         cs_log_dbg(D_READER, "cccam: last_s=%ld, last_g=%ld", rdr->last_s, rdr->last_g);
      |                                                         ~~^
      |                                                           |
      |                                                           long int
      |                                                         %lld
[21/156] Building C object CMakeFiles/csmodules.dir/module-emulator-biss.c.o
[22/156] Building C object CMakeFiles/csmodules.dir/module-emulator-cryptoworks.c.o
[23/156] Building C object CMakeFiles/csmodules.dir/module-emulator-drecrypt.c.o
[24/156] Building C object CMakeFiles/csmodules.dir/module-emulator-director.c.o
[25/156] Building C object CMakeFiles/csmodules.dir/module-emulator-irdeto.c.o
[26/156] Building C object CMakeFiles/csmodules.dir/module-emulator-nagravision.c.o
[27/156] Building C object CMakeFiles/csmodules.dir/module-emulator-omnicrypt.c.o
[28/156] Building C object CMakeFiles/csmodules.dir/module-emulator-osemu.c.o
[29/156] Building C object CMakeFiles/csmodules.dir/module-emulator-viaccess.c.o
[30/156] Building C object CMakeFiles/csmodules.dir/module-emulator.c.o
[31/156] Building C object CMakeFiles/csmodules.dir/module-gbox-cards.c.o
[32/156] Building C object CMakeFiles/csmodules.dir/module-gbox-helper.c.o
[33/156] Building C object CMakeFiles/csmodules.dir/module-gbox-remm.c.o
[34/156] Building C object CMakeFiles/csmodules.dir/module-gbox-sms.c.o
[35/156] Building C object CMakeFiles/csmodules.dir/module-emulator-powervu.c.o
[36/156] Building C object CMakeFiles/csmodules.dir/module-ghttp.c.o
[37/156] Building C object CMakeFiles/csmodules.dir/module-lcd.c.o
[38/156] Building C object CMakeFiles/csmodules.dir/module-led.c.o
[39/156] Building C object CMakeFiles/csmodules.dir/module-monitor.c.o
[40/156] Building C object CMakeFiles/csmodules.dir/module-newcamd-des.c.o
[41/156] Building C object CMakeFiles/csmodules.dir/module-pandora.c.o
[42/156] Building C object CMakeFiles/csmodules.dir/module-radegast.c.o
In file included from oscam/globals.h:2552,
                 from oscam/module-radegast.c:3:
oscam/module-radegast.c: In function 'radegast_cli_init':
oscam/module-radegast.c:327:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=]
  327 |         cs_log_dbg(D_CLIENT, "radegast: last_s=%ld, last_g=%ld", cl->reader->last_s, cl->reader->last_g);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~~~~~~~
      |                                                                            |
      |                                                                            time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-radegast.c:327:50: note: format string is defined here
  327 |         cs_log_dbg(D_CLIENT, "radegast: last_s=%ld, last_g=%ld", cl->reader->last_s, cl->reader->last_g);
      |                                                ~~^
      |                                                  |
      |                                                  long int
      |                                                %lld
In file included from oscam/globals.h:2552,
                 from oscam/module-radegast.c:3:
oscam/module-radegast.c:327:30: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=]
  327 |         cs_log_dbg(D_CLIENT, "radegast: last_s=%ld, last_g=%ld", cl->reader->last_s, cl->reader->last_g);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                      ~~~~~~~~~~~~~~~~~~
      |                                                                                                |
      |                                                                                                time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/module-radegast.c:327:62: note: format string is defined here
  327 |         cs_log_dbg(D_CLIENT, "radegast: last_s=%ld, last_g=%ld", cl->reader->last_s, cl->reader->last_g);
      |                                                            ~~^
      |                                                              |
      |                                                              long int
      |                                                            %lld
[43/156] Building C object CMakeFiles/csmodules.dir/module-scam.c.o
[44/156] Building C object CMakeFiles/csmodules.dir/module-gbox.c.o
[45/156] Building C object CMakeFiles/csmodules.dir/module-serial.c.o
[46/156] Building C object CMakeFiles/csmodules.dir/module-newcamd.c.o
[47/156] Building C object CMakeFiles/csmodules.dir/module-streamrelay.c.o
[48/156] Building C object CMakeFiles/csmodules.dir/module-webif-lib.c.o
[49/156] Building C object CMakeFiles/csmodules.dir/module-webif-tpl.c.o
[50/156] Building C object CMakeFiles/csmodules.dir/webif/pages.c.o
[51/156] Building C object CMakeFiles/csmodules.dir/module-stat.c.o
oscam/module-stat.c: In function 'load_stat_from_file':
oscam/module-stat.c:170:120: warning: format '%ld' expects argument of type 'long int *', but argument 10 has type 'time_t *' {aka 'long long int *'} [-Wformat=]
  170 |                         i = sscanf(line, "%255s rc %04d caid %04hX prid %06X srvid %04hX time avg %d ms ecms %d last %ld fail %d len %02hX\n",
      |                                                                                                                      ~~^
      |                                                                                                                        |
      |                                                                                                                        long int *
      |                                                                                                                      %lld
  171 |                                            buf, &s->rc, &s->caid, &s->prid, &s->srvid,
  172 |                                            &s->time_avg, &s->ecm_count, &s->last_received.time, &s->fail_factor, &s->ecmlen);
      |                                                                         ~~~~~~~~~~~~~~~~~~~~~~                          
      |                                                                         |
      |                                                                         time_t * {aka long long int *}
oscam/module-stat.c: In function 'save_stat_to_file_thread':
oscam/module-stat.c:364:85: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'time_t' {aka 'long long int'} [-Wformat=]
  364 |                                 fprintf(file, "%s,%d,%04hX,%06X,%04hX,%04hX,%d,%d,%ld,%d,%02hX\n",
      |                                                                                   ~~^
      |                                                                                     |
      |                                                                                     long int
      |                                                                                   %lld
  365 |                                                 rdr->label, s->rc, s->caid, s->prid,
  366 |                                                 s->srvid, (uint16_t)s->chid, s->time_avg, s->ecm_count, s->last_received.time, s->fail_factor, s->ecmlen);
      |                                                                                                         ~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                                         |
      |                                                                                                                         time_t {aka long long int}
[52/156] Building C object CMakeFiles/csreaders.dir/reader-bulcrypt.c.o
[53/156] Building C object CMakeFiles/csreaders.dir/reader-common.c.o
[54/156] Building C object CMakeFiles/csreaders.dir/reader-conax.c.o
[55/156] Building C object CMakeFiles/csreaders.dir/reader-cryptoworks.c.o
[56/156] Building C object CMakeFiles/csreaders.dir/reader-dgcrypt.c.o
[57/156] Building C object CMakeFiles/csreaders.dir/reader-dre-common.c.o
[58/156] Building C object CMakeFiles/csreaders.dir/reader-dre-cas.c.o
[59/156] Building C object CMakeFiles/csreaders.dir/reader-dre-st20.c.o
[60/156] Building C object CMakeFiles/csreaders.dir/reader-griffin.c.o
[61/156] Building C object CMakeFiles/csreaders.dir/reader-dre.c.o
[62/156] Building C object CMakeFiles/csreaders.dir/reader-nagra-common.c.o
[63/156] Building C object CMakeFiles/csreaders.dir/reader-irdeto.c.o
[64/156] Building C object CMakeFiles/csreaders.dir/reader-nagra.c.o
[65/156] Building C object CMakeFiles/csreaders.dir/reader-nagracak7.c.o
[66/156] Building C object CMakeFiles/csreaders.dir/reader-seca.c.o
[67/156] Building C object CMakeFiles/csreaders.dir/reader-tongfang.c.o
[68/156] Building C object CMakeFiles/csreaders.dir/reader-videoguard-common.c.o
[69/156] Building C object CMakeFiles/csreaders.dir/reader-videoguard1.c.o
[70/156] Building C object CMakeFiles/csreaders.dir/reader-viaccess.c.o
[71/156] Building C object CMakeFiles/csreaders.dir/reader-videoguard12.c.o
[72/156] Building C object CMakeFiles/csoscam.dir/config.c.o
[73/156] Building C object CMakeFiles/csoscam.dir/oscam-aes.c.o
[74/156] Building C object CMakeFiles/csreaders.dir/reader-videoguard2.c.o
[75/156] Building C object CMakeFiles/csoscam.dir/oscam-array.c.o
[76/156] Building C object CMakeFiles/csmodules.dir/module-webif.c.o
oscam/module-webif.c: In function 'get_ecm_fullhistorystring':
oscam/module-webif.c:547:87: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=]
  547 |                                 pos += snprintf(value + pos, needed - pos, "%s%d:%d:%ld", dot, cl->cwlastresptimes[k].duration, cl->cwlastresptimes[k].rc, cl->cwlastresptimes[k].timestamp);
      |                                                                                     ~~^                                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                       |                                                                                          |
      |                                                                                       long int                                                                                   time_t {aka long long int}
      |                                                                                     %lld
oscam/module-webif.c: In function 'process_request':
oscam/module-webif.c:9481:75: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=]
 9481 |                                 tpl_printf(vars, TPLADD, "APIRUNTIME", "%ld", now - first_client->login);
      |                                                                         ~~^   ~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                           |       |
      |                                                                           |       time_t {aka long long int}
      |                                                                           long int
      |                                                                         %lld
[77/156] Building C object CMakeFiles/csoscam.dir/oscam-cache.c.o
[78/156] Building C object CMakeFiles/csoscam.dir/oscam-chk.c.o
[79/156] Building C object CMakeFiles/csoscam.dir/oscam-client.c.o
[80/156] Building C object CMakeFiles/csoscam.dir/oscam-conf-chk.c.o
[81/156] Building C object CMakeFiles/csoscam.dir/oscam-conf.c.o
[82/156] Building C object CMakeFiles/csoscam.dir/oscam-config-account.c.o
oscam/oscam-config-account.c: In function 'account_expdate_fn':
oscam/oscam-config-account.c:162:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  162 |                         account->expirationdate = (time_t)NULL;
      |                                                   ^
[83/156] Building C object CMakeFiles/csoscam.dir/oscam-conf-mk.c.o
[84/156] Building C object CMakeFiles/csoscam.dir/oscam-config-global.c.o
[85/156] Building C object CMakeFiles/csoscam.dir/oscam-config-reader.c.o
[86/156] Building C object CMakeFiles/csoscam.dir/oscam-config.c.o
[87/156] Building C object CMakeFiles/csoscam.dir/oscam-emm-cache.c.o
oscam/oscam-emm-cache.c: In function 'emm_save_cache':
oscam/oscam-emm-cache.c:82:46: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=]
   82 |                 result = fprintf(file, "%s,%ld,%ld,%02X,%04X,%s\n", tmp_emmd5, c->firstseen.time, c->lastseen.time, c->type, c->len, tmp_emm);
      |                                            ~~^                                 ~~~~~~~~~~~~~~~~~
      |                                              |                                             |
      |                                              long int                                      time_t {aka long long int}
      |                                            %lld
oscam/oscam-emm-cache.c:82:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=]
   82 |                 result = fprintf(file, "%s,%ld,%ld,%02X,%04X,%s\n", tmp_emmd5, c->firstseen.time, c->lastseen.time, c->type, c->len, tmp_emm);
      |                                                ~~^                                                ~~~~~~~~~~~~~~~~
      |                                                  |                                                           |
      |                                                  long int                                                    time_t {aka long long int}
      |                                                %lld
oscam/oscam-emm-cache.c: In function 'save_emmstat_to_file':
oscam/oscam-emm-cache.c:273:65: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=]
  273 |                                 result = fprintf(file, "%s,%s,%ld,%ld,%02X,%04X\n", rdr->label, tmp_emmd5, s->firstwritten.time, s->lastwritten.time, s->type, s->count);
      |                                                               ~~^                                          ~~~~~~~~~~~~~~~~~~~~
      |                                                                 |                                                         |
      |                                                                 long int                                                  time_t {aka long long int}
      |                                                               %lld
oscam/oscam-emm-cache.c:273:69: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=]
  273 |                                 result = fprintf(file, "%s,%s,%ld,%ld,%02X,%04X\n", rdr->label, tmp_emmd5, s->firstwritten.time, s->lastwritten.time, s->type, s->count);
      |                                                                   ~~^                                                            ~~~~~~~~~~~~~~~~~~~
      |                                                                     |                                                                          |
      |                                                                     long int                                                                   time_t {aka long long int}
      |                                                                   %lld
[88/156] Building C object CMakeFiles/csoscam.dir/oscam-failban.c.o
In file included from oscam/globals.h:2552,
                 from oscam/oscam-failban.c:3:
oscam/oscam-failban.c: In function 'cs_check_v':
oscam/oscam-failban.c:107:45: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=]
  107 |                         cs_log_dbg(D_TRACE, "failban: ban ip %s:%d with timestamp %ld%s%s",
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  108 |                                                 cs_inet_ntoa(v_ban_entry->v_ip), v_ban_entry->v_port, v_ban_entry->v_time.time,
      |                                                                                                       ~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                                          |
      |                                                                                                                          time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/oscam-failban.c:107:85: note: format string is defined here
  107 |                         cs_log_dbg(D_TRACE, "failban: ban ip %s:%d with timestamp %ld%s%s",
      |                                                                                   ~~^
      |                                                                                     |
      |                                                                                     long int
      |                                                                                   %lld
[89/156] Building C object CMakeFiles/csoscam.dir/oscam-emm.c.o
[90/156] Building C object CMakeFiles/csoscam.dir/oscam-files.c.o
[91/156] Building C object CMakeFiles/csoscam.dir/oscam-garbage.c.o
[92/156] Building C object CMakeFiles/csoscam.dir/oscam-hashtable.c.o
[93/156] Building C object CMakeFiles/csoscam.dir/oscam-llist.c.o
[94/156] Building C object CMakeFiles/csoscam.dir/oscam-log-reader.c.o
[95/156] Building C object CMakeFiles/csoscam.dir/oscam-lock.c.o
[96/156] Building C object CMakeFiles/csoscam.dir/oscam-ecm.c.o
In file included from oscam/globals.h:2552,
                 from oscam/oscam-ecm.c:3:
oscam/oscam-ecm.c: In function 'send_dcw':
oscam/oscam-ecm.c:1180:63: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=]
 1180 |                                         { cs_log_dbg(D_TRACE, "[zaplist] ACoSC for Client: %s  penalty_duration: %ld seconds left(%s)", username(client), client->account->acosc_penalty_until - zaptime, info3); }
      |                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                                                                                                                |
      |                                                                                                                                                                                                time_t {aka long long int}
oscam/oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg'
   20 | #define cs_log_dbg(mask, fmt, params...)              do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0)
      |                                                                                                                                                   ^~~
oscam/oscam-ecm.c:1180:116: note: format string is defined here
 1180 |                                         { cs_log_dbg(D_TRACE, "[zaplist] ACoSC for Client: %s  penalty_duration: %ld seconds left(%s)", username(client), client->account->acosc_penalty_until - zaptime, info3); }
      |                                                                                                                  ~~^
      |                                                                                                                    |
      |                                                                                                                    long int
      |                                                                                                                  %lld
[97/156] Building C object CMakeFiles/csoscam.dir/oscam-net.c.o
[98/156] Building C object CMakeFiles/csoscam.dir/oscam-log.c.o
oscam/oscam-log.c: In function 'cs_statistics':
oscam/oscam-log.c:702:111: warning: format '%ld' expects argument of type 'long int', but argument 20 has type 'time_t' {aka 'long long int'} [-Wformat=]
  702 |                 snprintf(buf, sizeof(buf), "s%02d.%02d.%02d %02d:%02d:%02d %3.1f %s %s %d %d %d %d %d %d %d %ld %ld %02d:%02d:%02d %s %04X@%06X:%04X %s\n",
      |                                                                                                             ~~^
      |                                                                                                               |
      |                                                                                                               long int
      |                                                                                                             %lld
......
  714 |                                  client->login,
      |                                  ~~~~~~~~~~~~~                                                                 
      |                                        |
      |                                        time_t {aka long long int}
oscam/oscam-log.c:702:115: warning: format '%ld' expects argument of type 'long int', but argument 21 has type 'time_t' {aka 'long long int'} [-Wformat=]
  702 |                 snprintf(buf, sizeof(buf), "s%02d.%02d.%02d %02d:%02d:%02d %3.1f %s %s %d %d %d %d %d %d %d %ld %ld %02d:%02d:%02d %s %04X@%06X:%04X %s\n",
      |                                                                                                                 ~~^
      |                                                                                                                   |
      |                                                                                                                   long int
      |                                                                                                                 %lld
......
  715 |                                  client->last,
      |                                  ~~~~~~~~~~~~                                                                      
      |                                        |
      |                                        time_t {aka long long int}
[99/156] Building C object CMakeFiles/csoscam.dir/oscam-simples.c.o
[100/156] Building C object CMakeFiles/csoscam.dir/oscam-reader.c.o
[101/156] Building C object CMakeFiles/csoscam.dir/oscam-time.c.o
[102/156] cd oscam/build && touch oscam/oscam.c
[103/156] Building C object CMakeFiles/csoscam.dir/oscam-work.c.o
[104/156] Building C object CMakeFiles/csoscam.dir/oscam-string.c.o
[105/156] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_azbox.c.o
[106/156] Building C object csctapi/CMakeFiles/csctapi.dir/atr.c.o
[107/156] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_cool.c.o
[108/156] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_db2com.c.o
[109/156] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_drecas.c.o
[110/156] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_mp35.c.o
[111/156] Building C object csctapi/CMakeFiles/csctapi.dir/icc_async.c.o
[112/156] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_pcsc.c.o
[113/156] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_sc8in1.c.o
[114/156] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_sci.c.o
[115/156] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_phoenix.c.o
[116/156] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_stapi.c.o
[117/156] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_smargo.c.o
[118/156] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_stinger.c.o
[119/156] Building C object csctapi/CMakeFiles/csctapi.dir/protocol_t0.c.o
[120/156] Building C object csctapi/CMakeFiles/csctapi.dir/io_serial.c.o
[121/156] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_smartreader.c.o
[122/156] Building C object csctapi/CMakeFiles/csctapi.dir/protocol_t1.c.o
[123/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_add.c.o
[124/156] Building C object minilzo/CMakeFiles/minilzo.dir/minilzo.c.o
[125/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/aes.c.o
[126/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_ctx.c.o
[127/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_exp.c.o
[128/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_div.c.o
[129/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_lib.c.o
[130/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_print.c.o
[131/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_shift.c.o
[132/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_mul.c.o
[133/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_sqr.c.o
[134/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_word.c.o
[135/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/fast_aes.c.o
[136/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_asm.c.o
[137/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/des.c.o
[138/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/i_ecb.c.o
[139/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/i_skey.c.o
[140/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/i_cbc.c.o
[141/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/mem.c.o
[142/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/rc6.c.o
[143/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/md5.c.o
[144/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/sha1.c.o
[145/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/mdc2.c.o
[146/156] Building C object cscrypt/CMakeFiles/cscrypt.dir/sha256.c.o
[147/156] Linking C static library libcsreaders.a
[148/156] Linking C static library libcsoscam.a
[149/156] Linking C static library libcsmodules.a
[150/156] Linking C static library csctapi/libcsctapi.a
[151/156] Linking C static library minilzo/libminilzo.a
[152/156] Linking C static library cscrypt/libcscrypt.a
[153/156] Building C object utils/CMakeFiles/list_smargo.dir/list_smargo.c.o
[154/156] Linking C executable utils/list_smargo
[155/156] Building C object CMakeFiles/oscam.dir/oscam.c.o
oscam/oscam.c: In function 'write_versionfile':
oscam/oscam.c:363:48: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=]
  363 |                 fprintf(fp, "Unix starttime: %ld\n", walltime);
      |                                              ~~^     ~~~~~~~~
      |                                                |     |
      |                                                |     time_t {aka long long int}
      |                                                long int
      |                                              %lld
[156/156] Linking C executable oscam
[SHA256] 7d1116b4af121ee65fcdd18aa2ddbdef9698bf561159b2ca5f627a95f566988e  oscam-11764-801.mipsel_openwrt_mt7620_libusb

