diff options
author | chai <chaifix@163.com> | 2018-09-08 14:52:17 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-09-08 14:52:17 +0800 |
commit | 7c3609b04eabc79db0c0b245a155fc3c5e875053 (patch) | |
tree | 9333f727863c8fed738bd16eaf6d9e2f0d4f53b5 /src/lua/modules/net/Buffer.h | |
parent | 1ccc798ca383fc941d624751293ed88e012900d1 (diff) |
*update
Diffstat (limited to 'src/lua/modules/net/Buffer.h')
-rw-r--r-- | src/lua/modules/net/Buffer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua/modules/net/Buffer.h b/src/lua/modules/net/Buffer.h index 31e6df8..172682d 100644 --- a/src/lua/modules/net/Buffer.h +++ b/src/lua/modules/net/Buffer.h @@ -52,7 +52,8 @@ namespace net return; } - const char* grabString(int* length, int offset = 0) + /* grab and create a string */ + char* grabString(unsigned int* length, int offset = 0) { int l = offset; for (; l < size; ++l) |