~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to strings/my_strtoll10.c

Merged in Jay's tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
212
212
 
213
213
overflow:                                       /* *endptr is set here */
214
214
  *error= MY_ERRNO_ERANGE;
215
 
  return negative ? LONGLONG_MIN : (int64_t) ULONGLONG_MAX;
 
215
  return negative ? INT64_MIN: (int64_t) ULONGLONG_MAX;
216
216
 
217
217
end_i:
218
218
  *endptr= (char*) s;