From 27c17ce9d18530fbbc36c7b690e8a63999eeb285 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Tue, 3 May 2016 03:51:52 +0200 Subject: [PATCH] src: fix FindFirstCharacter argument alignment PR-URL: https://github.com/nodejs/node/pull/6511 Reviewed-By: James M Snell Reviewed-By: Trevor Norris --- src/string_search.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/string_search.h b/src/string_search.h index e7b13559416cb3..0426fd840c0bd1 100644 --- a/src/string_search.h +++ b/src/string_search.h @@ -252,7 +252,7 @@ inline const void* MemrchrFill(const void* haystack, uint8_t needle, // `subject`. Does not check that the whole pattern matches. template inline size_t FindFirstCharacter(Vector pattern, - Vector subject, size_t index) { + Vector subject, size_t index) { const Char pattern_first_char = pattern[0]; const size_t max_n = (subject.length() - pattern.length() + 1);