diff options
author | yann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd> | 2014-03-12 14:51:59 (GMT) |
---|---|---|
committer | yann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd> | 2014-03-12 14:51:59 (GMT) |
commit | a9d8640c1f3898cd47eb1faf22db013e8b9911db (patch) | |
tree | bf8993759a1f9685751dec833f206aee2e811348 /programs/fuzzer.c | |
parent | 69dc85b8abe78246bea91a5ba1205e4c07b96a97 (diff) | |
download | lz4-a9d8640c1f3898cd47eb1faf22db013e8b9911db.zip lz4-a9d8640c1f3898cd47eb1faf22db013e8b9911db.tar.gz lz4-a9d8640c1f3898cd47eb1faf22db013e8b9911db.tar.bz2 |
Makefile : library correctly compiled with -O3 switch (issue 114)
Makefile : library compilation compatible with clang
Makefile : library is versioned and linked (issue 119)
lz4.h : no more static inline prototypes (issue 116)
man : improved header/footer (issue 111)
Makefile : Use system default $(CC) & $(MAKE) variables (issue 112)
xxhash : updated to r34
git-svn-id: https://lz4.googlecode.com/svn/trunk@114 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
Diffstat (limited to 'programs/fuzzer.c')
-rw-r--r-- | programs/fuzzer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/fuzzer.c b/programs/fuzzer.c index 7b06cbe..a2bd33a 100644 --- a/programs/fuzzer.c +++ b/programs/fuzzer.c @@ -145,7 +145,7 @@ int main() { fflush(stdout); if ( fgets(userInput, sizeof userInput, stdin) ) { - if ( sscanf(userInput, "%d", &seed) == 1 ) {} + if ( sscanf(userInput, "%u", &seed) == 1 ) {} else seed = FUZ_GetMilliSpan(timestamp); } printf("Seed = %u\n", seed); |