Francois Gouget : port: Remove unneeded casts of zero.

Alexandre Julliard julliard at winehq.org
Mon Dec 8 09:46:07 CST 2008


Module: wine
Branch: master
Commit: df949b4e86453d49ace961ca0cf7a28efec16d10
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=df949b4e86453d49ace961ca0cf7a28efec16d10

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Dec  8 09:25:03 2008 +0100

port: Remove unneeded casts of zero.

---

 libs/port/getopt.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libs/port/getopt.c b/libs/port/getopt.c
index be82779..041bef0 100644
--- a/libs/port/getopt.c
+++ b/libs/port/getopt.c
@@ -1203,8 +1203,8 @@ getopt (argc, argv, optstring)
      const char *optstring;
 {
   return _getopt_internal (argc, argv, optstring,
-			   (const struct option *) 0,
-			   (int *) 0,
+			   NULL,
+			   NULL,
 			   0);
 }
 




More information about the wine-cvs mailing list