aboutsummaryrefslogtreecommitdiffstats
path: root/libautomata_compile_kmp_automaton.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-06-04 18:18:32 +0200
committerMattias Andrée <m@maandree.se>2026-06-04 18:18:32 +0200
commitf43e46f98ecfc9eb4d3c58868f2c5cb92611a650 (patch)
tree1a33c65a02505e5ac9134f013d147bb7bbc928e3 /libautomata_compile_kmp_automaton.c
parentSome fixes (diff)
downloadlibautomata-1.0.tar.gz
libautomata-1.0.tar.bz2
libautomata-1.0.tar.xz
Style improvementHEAD1.0master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libautomata_compile_kmp_automaton.c')
-rw-r--r--libautomata_compile_kmp_automaton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libautomata_compile_kmp_automaton.c b/libautomata_compile_kmp_automaton.c
index 46b0430..7443596 100644
--- a/libautomata_compile_kmp_automaton.c
+++ b/libautomata_compile_kmp_automaton.c
@@ -15,7 +15,7 @@ libautomata_compile_kmp_automaton(const void *pattern, size_t length, size_t ele
ret->position = 0;
ret->length = length;
ret->elemsize = elemsize;
- memcpy((void *)&ret->next[length + 1U], pattern, length * elemsize);
+ memcpy((void *)&ret->next[length + 1u], pattern, length * elemsize);
#define INTRINSIC(TYPE)\
(((const TYPE *)pattern)[i] == ((const TYPE *)pattern)[j])