Changeset fa4562c for cmd.c


Ignore:
Timestamp:
Aug 15, 2009, 7:08:18 PM (12 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
e19eb97
Parents:
65b2173
git-author:
Anders Kaseorg <andersk@mit.edu> (08/04/09 02:59:42)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:18)
Message:
Prepare code for adding const qualifiers for char * and void *.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cmd.c

    r65b2173 rfa4562c  
    211211        return NULL;
    212212      }
    213       ival = strtol(argv[1], &ep, 10);
     213      ival = strtol(argv[1], (char **)&ep, 10);
    214214      if (*ep || ep==argv[1]) {
    215215        owl_function_makemsg("Invalid argument '%s' for %s command.", argv[1], argv[0]);
Note: See TracChangeset for help on using the changeset viewer.