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


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(-)


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

I wonder if the compiler even cares?
diff mbox series


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