Browse Source

Merge pull request #459 from libtom/pr/copy_or_zeromem

Avoid LTC_ARGCHK in void functions
karel-m 7 years ago
parent
commit
983fd25e40
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/misc/copy_or_zeromem.c

+ 2 - 2
src/misc/copy_or_zeromem.c

@@ -29,8 +29,8 @@ void copy_or_zeromem(const unsigned char* src, unsigned char* dest, unsigned lon
 #endif
    unsigned char mask = 0xff; /* initialize mask at all ones */
 
-   LTC_ARGCHK(src  != NULL);
-   LTC_ARGCHK(dest != NULL);
+   LTC_ARGCHKVD(src  != NULL);
+   LTC_ARGCHKVD(dest != NULL);
 
    if (coz != 0) coz = 1;
    y = 0;