~ubuntu-branches/ubuntu/trusty/libcdk5/trusty

« back to all changes in this revision

Viewing changes to cdk_params.c

  • Committer: Bazaar Package Importer
  • Author(s): John Goerzen
  • Date: 2007-06-06 03:54:31 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070606035431-ba4gdvw0h6ybffsu
Tags: 5.0.20060507-1
* New upstream release.
* Fixed header patching.  Patch from Robert Schiele.
  Closes: #402978, #416336.
* Update widget count in description.  Closes: #294709.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 * Useful functions for command-line parsing.
5
5
 *
6
6
 * $Author: tom $
7
 
 * $Date: 2003/11/29 16:03:15 $
8
 
 * $Revision: 1.5 $
 
7
 * $Date: 2005/12/27 19:52:30 $
 
8
 * $Revision: 1.6 $
9
9
 */
10
10
 
11
11
#define OPTION_ON       ((char *)1)
55
55
   }
56
56
   else
57
57
   {
58
 
      result = (int)atoi (string);
 
58
      result = strtol (string, (char **)0, 0);
59
59
   }
60
60
   return result;
61
61
}
94
94
   }
95
95
   else
96
96
   {
97
 
      result = (int)atoi (string);
 
97
      result = strtol (string, (char **)0, 0);
98
98
   }
99
99
   return result;
100
100
}
240
240
   }
241
241
   else
242
242
   {
243
 
      result = atoi (value);
 
243
      result = strtol (value, (char **)0, 0);
244
244
   }
245
245
 
246
246
   return result;