diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-12-12 14:49:32 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-12-12 14:49:32 -0800 |
commit | b20139fe546fda014e8da8eaf3058ff5d07e3fd2 (patch) | |
tree | 65f93f9cb5a0b8ea5657831adc109cf13272ee48 | |
parent | efea3a1441c018835c2935a457f2b6914ba9d4ba (diff) |
ensure the array of values of files is unsigned
-rw-r--r-- | src/library.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js index e1121c2f..718b61e2 100644 --- a/src/library.js +++ b/src/library.js @@ -1630,7 +1630,7 @@ LibraryManager.library = { var contents = stream.object.contents; while (contents.length < offset) contents.push(0); for (var i = 0; i < nbyte; i++) { - contents[offset + i] = {{{ makeGetValue('buf', 'i', 'i8') }}}; + contents[offset + i] = {{{ makeGetValue('buf', 'i', 'i8', undefined, 1) }}}; } stream.object.timestamp = Date.now(); return i; |