Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/20120917-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
rev | line source |
---|---|
111 | 1 typedef long long curl_off_t; |
2 int tool_seek_cb(void *userdata, curl_off_t offset, int whence) | |
3 { | |
4 if(offset > 0x7FFFFFFFLL - 0x1LL) | |
5 { | |
6 curl_off_t left = offset; | |
7 while(left) | |
8 { | |
9 long step = (left > 0x7FFFFFFFLL - 0x1LL) ? 2147483647L - 1L : (long)left; | |
10 left -= step; | |
11 } | |
12 } | |
13 } |