Commit 54206832 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

fix icc 32 bit warnings. addresses #1195

git-svn-id: file:///svn/toku/tokudb.1195@7704 c7de825b-a66e-492c-adef-691d508d4ae1
parent 2d4f7748
......@@ -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++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment