mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-capture: unsigned cast before shift
This commit is contained in:
@ -424,7 +424,7 @@ sysprof_collector_get (void)
|
|||||||
#else
|
#else
|
||||||
self->tid = self->pid;
|
self->tid = self->pid;
|
||||||
#endif
|
#endif
|
||||||
self->next_counter_id = (self->pid << 16);
|
self->next_counter_id = ((unsigned)self->pid << 16);
|
||||||
|
|
||||||
pthread_mutex_lock (&control_fd_lock);
|
pthread_mutex_lock (&control_fd_lock);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user