Skip to content

Instantly share code, notes, and snippets.

@soc
Created January 30, 2012 00:20
Show Gist options
  • Select an option

  • Save soc/1701541 to your computer and use it in GitHub Desktop.

Select an option

Save soc/1701541 to your computer and use it in GitHub Desktop.
../../../src/llvm/ffi/scala/ffi/alloc.scala:16: error: type mismatch;
found : scala.ffi.CInt
(which expands to) Int
required: scala.ffi.CSizeT
(which expands to) Long
val ptr: Ptr[A] = mallocBytes(n)
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment