diff mbox series

[FFmpeg-devel,1/2] cuda_runtime.h: Correct ushort4 to use ushort.

Message ID CAHVN4miMHp3LxK8YDh4po7Nk_r7PjG+2Y5xuBtikyTLaTDuTPg@mail.gmail.com
State New
Headers show
Series [FFmpeg-devel,1/2] cuda_runtime.h: Correct ushort4 to use ushort. | expand

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Matt Oliver Feb. 12, 2021, 3:58 p.m. UTC
---
 compat/cuda/cuda_runtime.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Timo Rothenpieler Feb. 12, 2021, 4:43 p.m. UTC | #1
LGTM

I wonder if the compiler even cares?
diff mbox series

Patch

diff --git a/compat/cuda/cuda_runtime.h b/compat/cuda/cuda_runtime.h
index 0bf3de85d3..c5450b2542 100644
--- a/compat/cuda/cuda_runtime.h
+++ b/compat/cuda/cuda_runtime.h
@@ -73,7 +73,7 @@  typedef struct __device_builtin__ __align__(4) uchar4

 typedef struct __device_builtin__ __align__(8) ushort4
 {
-    unsigned char x, y, z, w;
+    unsigned short x, y, z, w;
 } ushort4;

 typedef struct __device_builtin__ __align__(16) int4