Skip to content

Instantly share code, notes, and snippets.

@akyoto
Created November 25, 2012 10:36
Show Gist options
  • Save akyoto/4143045 to your computer and use it in GitHub Desktop.
Save akyoto/4143045 to your computer and use it in GitHub Desktop.
/home/eduard/Projects/flua/src/flua/Utils/lz4/lz4.c: In function ‘int LZ4_uncompress(const char*, char*, int)’:
/home/eduard/Projects/flua/src/flua/Utils/lz4/lz4.c:740:56: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘size_t {aka long unsigned int}’ inside { } [-Wnarrowing]
/home/eduard/Projects/flua/src/flua/Utils/lz4/lz4.c: In function ‘int LZ4_uncompress_unknownOutputSize(const char*, char*, int, int)’:
/home/eduard/Projects/flua/src/flua/Utils/lz4/lz4.c:828:56: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘size_t {aka long unsigned int}’ inside { } [-Wnarrowing]
1st line:
size_t dec2table[]={0, 0, 0, -1, 0, 1, 2, 3};
2nd line:
size_t dec2table[]={0, 0, 0, -1, 0, 1, 2, 3};
GCC version:
g++ (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
LZ4_ARCH64 is active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment