codius/codius-sandbox — pull request #15 by justmoon (2014-11-27 22:34:09+00:00)
Title: Fix compiler error if AT_FDCWD is signed

Fixes the following compiler error:

```
$ npm install

> codius-sandbox@0.0.1 install /var/www/codius-engine/node_modules/codius-sandbox
> node-gyp rebuild

make: Entering directory '/var/www/codius-engine/node_modules/codius-sandbox/build'
CC(target) Release/obj.target/codius-sandbox-rpc/src/json.o
CC(target) Release/obj.target/codius-sandbox-rpc/src/codius-util.o
AR(target) Release/obj.target/codius-sandbox-rpc.a
COPY Release/codius-sandbox-rpc.a
CXX(target) Release/obj.target/codius-sandbox/src/sandbox.o
CXX(target) Release/obj.target/codius-sandbox/src/sandbox-ipc.o
CXX(target) Release/obj.target/codius-sandbox/src/vfs.o
../src/vfs.cpp: In member function ‘void VFS::do_openat(Sandbox::SyscallCall&)’:
../src/vfs.cpp:140:22: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (call.args[0] == AT_FDCWD) {
^
cc1plus: all warnings being treated as errors
codius-sandbox.target.mk:89: recipe for target 'Release/obj.target/codius-sandbox/src/vfs.o' failed
make: *** [Release/obj.target/codius-sandbox/src/vfs.o] Error 1
make: Leaving directory '/var/www/codius-engine/node_modules/codius-sandbox/build'
```