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:
Rich Prohaska 2013-04-16 23:57:25 -04:00 committed by Yoni Fogel
parent fe1ba37143
commit 0cb7def202
2 changed files with 2 additions and 2 deletions

View file

@ -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]);

View file

@ -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++) {