mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
string.c (mrb_memsearch_ss): update a comment regarding alignment issue
This commit is contained in:
+1
-1
@@ -571,7 +571,7 @@ str_index_str_by_char(mrb_state *mrb, mrb_value str, mrb_value sub, mrb_int pos)
|
||||
/* The modifications:
|
||||
* port from C++ to C
|
||||
* returns mrb_int
|
||||
* alignment adjustment added
|
||||
* remove alignment issue
|
||||
* support bigendian CPU
|
||||
* fixed potential buffer overflow
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user