Index: dahdi-tools-2.1.0.2/tonezone.c =================================================================== --- dahdi-tools-2.1.0.2.orig/tonezone.c 2008-08-06 01:43:02.000000000 +0200 +++ dahdi-tools-2.1.0.2/tonezone.c 2009-04-14 16:55:16.000000000 +0200 @@ -134,7 +134,7 @@ #if 0 printf("Using %d samples for %d and %d\n", time * 8, freq1, freq2); #endif - if (size < sizeof(*td)) { + if (size < (int)sizeof(*td)) { fprintf(stderr, "Not enough space for tones\n"); return -1; } @@ -325,7 +325,7 @@ int used = 0; while (tone->tone) { - if (size < sizeof(*td)) { + if (size < (int)sizeof(*td)) { fprintf(stderr, "Not enough space for samples\n"); return -1; }