*
*/
-#define _GNU_SOURCE
-
#include <unistd.h>
#include <stdlib.h>
#include <dirent.h>
* Shift before conversion to avoid sign extension
* of left aligned data
*/
- input = input >> info->shift;
+ input >>= info->shift;
if (info->is_signed) {
int16_t val = input;