Ignore:
Timestamp:
Jan 14, 2007, 9:47:18 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • Oops, ratio should be a double, not a float.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/zzuf.c

    r1670 r1671  
    8383static uint32_t seed = DEFAULT_SEED;
    8484static uint32_t endseed = DEFAULT_SEED + 1;
    85 static float ratio = DEFAULT_RATIO;
    86 static float endratio = DEFAULT_RATIO;
     85static double ratio = DEFAULT_RATIO;
     86static double endratio = DEFAULT_RATIO;
    8787static int quiet = 0;
    8888static int maxbytes = -1;
     
    444444{
    445445    static int const files[] = { DEBUG_FILENO, STDERR_FILENO, STDOUT_FILENO };
    446     char buf[BUFSIZ];
     446    char buf[64];
    447447    int fd[3][2];
    448448    int64_t now = _zz_time();
Note: See TracChangeset for help on using the changeset viewer.