Do not cast to unsigned int to avoid an unsigned long long enum type.
Use a multiplication/division instead to preserve the signedness of the
POSIX status.
---
cpukit/include/rtems/score/status.h | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/cpukit/include/rtems/score
On 2/2/20 1:07 am, Sebastian Huber wrote:
The patch is being attached. Can they please be inlined?
Chrid
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
Sinne des EHUG.
From 5d113ea4a4464987aa4a6bf2d3166d08810ef74d Mon Sep 17 00:00:00 2001
From: Sebastian Huber
Date: Thu, 2 Jan 2020 11:31:48 +0100
Subject: [PATCH] score: Optimize STATUS_BUILD()
Do not cast to unsigned int to avoid an unsigned long long enum type.
Use a multiplication/division