Re: [PATCH libdrm] modetest: fix printing of fourcc on BE machines

2017-04-18 Thread Michel Dänzer
On 18/04/17 09:56 PM, Ilia Mirkin wrote: > fourcc is not a string, it's a packed integer. This happens to work out > on LE, but gets reversed on BE. > > Signed-off-by: Ilia Mirkin > --- > tests/modetest/modetest.c | 11 ++- > 1 file changed, 10 insertions(+), 1

[PATCH libdrm] modetest: fix printing of fourcc on BE machines

2017-04-18 Thread Ilia Mirkin
fourcc is not a string, it's a packed integer. This happens to work out on LE, but gets reversed on BE. Signed-off-by: Ilia Mirkin --- tests/modetest/modetest.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/modetest/modetest.c