Show
Ignore:
Timestamp:
04/15/08 10:29:48 (9 months ago)
Author:
karpet
Message:

use our string_to_int instead of strtol() directly

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • libswish3/trunk/src/swish_lint.c

    r2121 r2129  
    181181                err(1, "-d option requires a positive integer as argument\n"); 
    182182 
    183             SWISH_DEBUG = (int)strtol(optarg, (char **)NULL, 10); 
     183            SWISH_DEBUG = swish_string_to_int(optarg); 
    184184            break; 
    185185