changeset 32096:501730f07abc

octave_gettimeofday_wrapper: Use NULL for pointer type argument. * liboctave/wrappers/time-wrappers.c (octave_gettimeofday_wrapper): Use NULL instead of 0 for pointer type argument.
author Markus Mützel <markus.muetzel@gmx.de>
date Sun, 21 May 2023 12:15:37 +0200
parents 28ef2991fb5a
children 53e15e754725
files liboctave/wrappers/time-wrappers.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/wrappers/time-wrappers.c	Wed May 17 20:29:17 2023 -0700
+++ b/liboctave/wrappers/time-wrappers.c	Sun May 21 12:15:37 2023 +0200
@@ -43,7 +43,7 @@
 {
   struct timeval tv;
 
-  int status = gettimeofday (&tv, 0);
+  int status = gettimeofday (&tv, NULL);
 
   if (status < 0)
     {