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