justincormack/slice — pull request #1 by trevorfancher (2012-06-25 04:22:08+00:00)
Title: Just fixing a bug

Before:

```
LuaJIT 2.0.0-beta10 -- Copyright (C) 2005-2012 Mike Pall. http://luajit.org/
JIT: ON CMOV SSE2 SSE3 SSE4.1 fold cse dce fwd dse narrow loop abc fuse
> ffi=require'ffi';k = slice.make(ffi.typeof("float"), 16)
> =k
[16,16,16,16,16,16,16,16,16,16,16,16,16,1.4012984643248e-45,8.2676609395164e-44,0]
>
```

After:

```
LuaJIT 2.0.0-beta10 -- Copyright (C) 2005-2012 Mike Pall. http://luajit.org/
JIT: ON CMOV SSE2 SSE3 SSE4.1 fold cse dce fwd dse narrow loop abc fuse
> ffi=require'ffi';k = slice.make(ffi.typeof("float"), 16)
> =k
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
>
```