summaryrefslogtreecommitdiffstats
path: root/cpukit/libtrace/record/record-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libtrace/record/record-server.c')
-rw-r--r--cpukit/libtrace/record/record-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libtrace/record/record-server.c b/cpukit/libtrace/record/record-server.c
index b8519cc6cb..0a65b904df 100644
--- a/cpukit/libtrace/record/record-server.c
+++ b/cpukit/libtrace/record/record-server.c
@@ -211,7 +211,7 @@ static bool thread_names_visitor( rtems_tcb *tcb, void *arg )
data = 0;
for ( j = 0; i < n && j < sizeof( data ); ++j ) {
- data = ( data << 8 ) | name[ i ];
+ data |= name[ i ] << ( j * 8 );
++i;
}