~ubuntu-branches/ubuntu/saucy/curl/saucy-201307251546

« back to all changes in this revision

Viewing changes to lib/strtoofft.h

  • Committer: Bazaar Package Importer
  • Author(s): Ramakrishnan Muthukrishnan
  • Date: 2011-02-28 19:35:36 UTC
  • mto: (3.6.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 47.
  • Revision ID: james.westby@ubuntu.com-20110228193536-p3a9jawxxofcsz7o
Tags: upstream-7.21.4
ImportĀ upstreamĀ versionĀ 7.21.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 * to implement string conversion to our curl_off_t integral data type.
30
30
 *
31
31
 * Notice that curl_off_t might be 64 or 32 bit wide, and that it might use
32
 
 * an undelying data type which might be 'long', 'int64_t', 'long long' or
 
32
 * an underlying data type which might be 'long', 'int64_t', 'long long' or
33
33
 * '__int64' and more remotely other data types.
34
34
 *
35
35
 * On systems where the size of curl_off_t is greater than the size of 'long'
36
 
 * the conversion funtion to use is strtoll() if it is available, otherwise,
 
36
 * the conversion function to use is strtoll() if it is available, otherwise,
37
37
 * we emulate its functionality with our own clone.
38
38
 *
39
39
 * On systems where the size of curl_off_t is smaller or equal than the size
40
 
 * of 'long' the conversion funtion to use is strtol().
 
40
 * of 'long' the conversion function to use is strtol().
41
41
 */
42
42
 
43
43
#if (CURL_SIZEOF_CURL_OFF_T > CURL_SIZEOF_LONG)