Fix base64 write for buffers

v0.7.4-release
Ryan Dahl 2010-09-05 21:09:33 -07:00
parent 1f947f7b41
commit ececd92f62
1 changed files with 1 additions and 1 deletions

View File

@ -618,7 +618,7 @@ Handle<Value> Buffer::Base64Write(const Arguments &args) {
} }
char a, b, c, d; char a, b, c, d;
char* dst = buffer->data(); char* dst = buffer->data() + offset;
const char *src = *s; const char *src = *s;
const char *const srcEnd = src + s.length(); const char *const srcEnd = src + s.length();