IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 31, 2012, 10:41:24 AM (14 years ago)
Author:
bills
Message:

Change pmConfigRead to use strtoull to convert the string supplied
to the -seed argument since it is a psU64. Previous use of
strtoll didn't work consistently.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/pmConfig.c

    r30636 r34234  
    685685            } else {
    686686                char *end = NULL;       // Pointer to end of consumed string
    687                 seed = strtoll(argv[argNum], &end, 0);
     687                seed = strtoull(argv[argNum], &end, 0);
    688688                if (strlen(end) > 0) {
    689689                    psError(PM_ERR_CONFIG, true, "Unable to read random number generator seed: %s",
Note: See TracChangeset for help on using the changeset viewer.