diff --git a/OpenCL/inc_rp.cl b/OpenCL/inc_rp.cl index f263d281a..0365d59dc 100644 --- a/OpenCL/inc_rp.cl +++ b/OpenCL/inc_rp.cl @@ -116,6 +116,7 @@ static void append_block (const u32 *buf_src, const int off_src, u32 *buf_dst, c switch (left) { + case 4: append_four_byte (buf_src, off_src + i, buf_dst, off_dst + i); break; case 3: append_three_byte (buf_src, off_src + i, buf_dst, off_dst + i); break; case 2: append_two_byte (buf_src, off_src + i, buf_dst, off_dst + i); break; case 1: append_one_byte (buf_src, off_src + i, buf_dst, off_dst + i); break; diff --git a/src/rp_kernel_on_cpu.c b/src/rp_kernel_on_cpu.c index 2d6f30037..27927644e 100644 --- a/src/rp_kernel_on_cpu.c +++ b/src/rp_kernel_on_cpu.c @@ -141,6 +141,7 @@ static void append_block (const u32 *buf_src, const int off_src, u32 *buf_dst, c switch (left) { + case 4: append_four_byte (buf_src, off_src + i, buf_dst, off_dst + i); break; case 3: append_three_byte (buf_src, off_src + i, buf_dst, off_dst + i); break; case 2: append_two_byte (buf_src, off_src + i, buf_dst, off_dst + i); break; case 1: append_one_byte (buf_src, off_src + i, buf_dst, off_dst + i); break;