mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
compile with gcc. addresses #1185
git-svn-id: file:///svn/tokudb.1131b+1080a+1185+nostatementexprs@6469 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
a25c7dc501
commit
746d28bf51
2 changed files with 3 additions and 1 deletions
|
@ -30,6 +30,8 @@ static inline unsigned long long rdtsc() {
|
|||
return r;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
#define USE_RDTSC 0
|
||||
|
||||
#endif
|
||||
|
|
|
@ -605,7 +605,7 @@ int toku_fread_DISKOFF (FILE *f, DISKOFF *diskoff, struct x1764 *checksum, u_int
|
|||
return r;
|
||||
}
|
||||
int toku_fread_BLOCKNUM (FILE *f, BLOCKNUM *blocknum, struct x1764 *checksum, u_int32_t *len) {
|
||||
u_int64_t b;
|
||||
u_int64_t b = 0;
|
||||
int r = toku_fread_u_int64_t (f, &b, checksum, len); // sign conversion will be OK.
|
||||
blocknum->b=b;
|
||||
return r;
|
||||
|
|
Loading…
Add table
Reference in a new issue