search for: 12d6e76

Displaying 1 result from an estimated 1 matches for "12d6e76".

Did you mean: 126976
2013 Apr 09
2
Small fixes needed for Riello driver
...rs/riello.c:984:28: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] As a result, memset() will only clear the first 4 or 8 bytes of the buffer. This is in Git master (12d6e76). I would recommend creating a typedef for the buffer which includes the size (e.g. BYTE[128] rather than BYTE*), or using a #define and changing the sizeof() to reference that definition. Also, is there a particular need for the BYTE/WORD/DWORD typedefs? It is useful to have consistency across a...