RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: lua/local/ modemuncher.c

From: Ralf S. Engelschall <rse@rpm5.org>
Date: Tue 10 Jul 2007 - 18:47:05 CEST
Message-Id: <20070710164705.B1F3E3484F1@rpm5.org>
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Ralf S. Engelschall
  Root:   /v/rpm/cvs                       Email:  rse@rpm5.org
  Module: lua                              Date:   10-Jul-2007 18:47:05
  Branch: HEAD                             Handle: 2007071017470500

  Modified files:
    lua/local               modemuncher.c

  Log:
    a NULL is a pointer and casting this back to an integral type causes a
    warning as the two usually always have different sizes

  Summary:
    Revision    Changes     Path
    1.3         +1  -1      lua/local/modemuncher.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: lua/local/modemuncher.c
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 modemuncher.c
  --- lua/local/modemuncher.c	23 Mar 2004 05:09:14 -0000	1.2
  +++ lua/local/modemuncher.c	10 Jul 2007 16:47:05 -0000	1.3
  @@ -36,7 +36,7 @@
   	{'r',					S_IROTH},
   	{'w',					S_IWOTH},
   	{'x',					S_IXOTH},
  -	{(char)NULL, 					(mode_t)-1} /* do not delete this line */
  +	{'\0', 					(mode_t)-1} /* do not delete this line */
   };
   
   
  @@ .
Received on Tue Jul 10 18:47:05 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.