string.c (mrb_memsearch_ss): update a comment regarding alignment issue

This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-01-31 21:36:05 +09:00
parent d8144aef78
commit f8527f0670
+1 -1
View File
@@ -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
*/