Updating branch refs/heads/master to 7956289251706d893e6db938145ee9777ee6bf51 (commit) from 3a37a385567711a271d86eaeb9b9fe09acc904f8 (commit)
commit 7956289251706d893e6db938145ee9777ee6bf51 Author: Jannis Pohlmann <jan...@xfce.org> Date: Tue Sep 29 15:58:26 2009 +0200 Fix a few more compiler warnings. Those don't seem problematic though. tdb/tdbspeed.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tdb/tdbspeed.c b/tdb/tdbspeed.c index 74b091d..f5e5255 100644 --- a/tdb/tdbspeed.c +++ b/tdb/tdbspeed.c @@ -75,12 +75,12 @@ static TDB_CONTEXT *db; struct timeval tp1,tp2; -static void start_timer() +static void start_timer(void) { gettimeofday(&tp1,NULL); } -static double end_timer() +static double end_timer(void) { gettimeofday(&tp2,NULL); return((tp2.tv_sec - tp1.tv_sec) + @@ -162,8 +162,8 @@ struct tdb_flag { int main(int argc, char *argv[]) { - int i, j, seed=0; - int k; + int seed=0; + unsigned int i, k, j; /* Precook random buffers */ randdata = malloc(10000 * sizeof(randdata[0])); _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits