diff options
| author | Mattias Andrée <m@maandree.se> | 2026-06-04 18:18:32 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-06-04 18:18:32 +0200 |
| commit | f43e46f98ecfc9eb4d3c58868f2c5cb92611a650 (patch) | |
| tree | 1a33c65a02505e5ac9134f013d147bb7bbc928e3 /libautomata_compile_mp_automaton.c | |
| parent | Some fixes (diff) | |
| download | libautomata-1.0.tar.gz libautomata-1.0.tar.bz2 libautomata-1.0.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libautomata_compile_mp_automaton.c')
| -rw-r--r-- | libautomata_compile_mp_automaton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libautomata_compile_mp_automaton.c b/libautomata_compile_mp_automaton.c index 49cd33d..819f12b 100644 --- a/libautomata_compile_mp_automaton.c +++ b/libautomata_compile_mp_automaton.c @@ -15,7 +15,7 @@ libautomata_compile_mp_automaton(const void *pattern, size_t length, size_t elem 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]) |
