~ubuntu-branches/ubuntu/raring/curl/raring-updates

« back to all changes in this revision

Viewing changes to lib/warnless.c

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2011-11-13 21:07:32 UTC
  • mto: (3.6.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 55.
  • Revision ID: package-import@ubuntu.com-20111113210732-bk5n25x2tu7aplur
Tags: upstream-7.22.0
ImportĀ upstreamĀ versionĀ 7.22.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
268
268
#endif
269
269
}
270
270
 
 
271
/*
 
272
** signed int to unsigned size_t
 
273
*/
 
274
 
 
275
size_t curlx_sitouz(int sinum)
 
276
{
 
277
#ifdef __INTEL_COMPILER
 
278
#  pragma warning(push)
 
279
#  pragma warning(disable:810) /* conversion may lose significant bits */
 
280
#endif
 
281
 
 
282
  DEBUGASSERT(sinum >= 0);
 
283
  return (size_t) sinum;
 
284
 
 
285
#ifdef __INTEL_COMPILER
 
286
#  pragma warning(pop)
 
287
#endif
 
288
}
 
289
 
271
290
#if defined(__INTEL_COMPILER) && defined(__unix__)
272
291
 
273
292
int curlx_FD_ISSET(int fd, fd_set *fdset)