Skip to content

Commit 058a7e2

Browse files
committed
properly use LTC_ARGCHKVD in void function
1 parent 99f9181 commit 058a7e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/misc/copy_or_zeromem.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ void copy_or_zeromem(const unsigned char* src, unsigned char* dest, unsigned lon
2929
#endif
3030
unsigned char mask = 0xff; /* initialize mask at all ones */
3131

32-
LTC_ARGCHK(src != NULL);
33-
LTC_ARGCHK(dest != NULL);
32+
LTC_ARGCHKVD(src != NULL);
33+
LTC_ARGCHKVD(dest != NULL);
3434

3535
if (coz != 0) coz = 1;
3636
y = 0;

0 commit comments

Comments
 (0)