useless cast warning

Thomas Klausner <[email protected]>
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
Hi!

When compiling emacs git head on NetBSD, I see:

getopt1.c: In function 'rpl_getopt_long':
getopt1.c:31:34: warning: useless cast to type 'char **' [-Wuseless-cast]
   31 |   return _getopt_internal (argc, (char **) argv, options, long_options,
      |                                  ^
getopt1.c: In function 'rpl_getopt_long_only':
getopt1.c:54:34: warning: useless cast to type 'char **' [-Wuseless-cast]
   54 |   return _getopt_internal (argc, (char **) argv, options, long_options,
      |                                  ^

 Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.