changed signed into int to make gcc happy
drwxr-xr-x - ir