Ignore:
Timestamp:
Jan 23, 2009, 6:44:15 PM (13 years ago)
Author:
charles
Message:

(trunk libT) fix some code that the newly-added gcc warnings didn't like

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tr-getopt.h

    r7658 r7783  
    3131{
    3232    int     val;          /* the value to return from tr_getopt() */
    33     char *  longName;     /* --long-form */
    34     char *  description;  /* option's description for tr_getopt_usage() */
    35     char *  shortName;    /* short form */
     33    const char *  longName;     /* --long-form */
     34    const char *  description;  /* option's description for tr_getopt_usage() */
     35    const char *  shortName;    /* short form */
    3636    int     has_arg;      /* 0 for no argument, 1 for argument */
    37     char *  argName;      /* argument's description for tr_getopt_usage() */
     37    const char *  argName;      /* argument's description for tr_getopt_usage() */
    3838}
    3939tr_option;
Note: See TracChangeset for help on using the changeset viewer.