mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
fix icc 32 bit warnings. addresses #1195
git-svn-id: file:///svn/toku/tokudb.1195@7704 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
fe1ba37143
commit
0cb7def202
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ test (int seed) {
|
|||
sizesn[i] = htonl(sizes[i]);
|
||||
int j;
|
||||
for (j=0; j<sizes[i]; j++) {
|
||||
buf[i][j]=random();
|
||||
buf[i][j]=(char)random();
|
||||
}
|
||||
int r = write(fd, buf[i], sizes[i]);
|
||||
assert(r==sizes[i]);
|
||||
|
|
|
@ -31,7 +31,7 @@ test2 (void) {
|
|||
enum { N=200 };
|
||||
char v[N];
|
||||
int i;
|
||||
for (i=0; i<N; i++) v[i]=random();
|
||||
for (i=0; i<N; i++) v[i]=(char)random();
|
||||
for (i=0; i<N; i++) {
|
||||
int j;
|
||||
for (j=i; j<=N; j++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue