aboutsummaryrefslogtreecommitdiff
path: root/trace/simple.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2013-02-12 14:34:04 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2013-02-12 16:26:43 -0600
commit30d940875dcd1adfbfd7fe7ccd3e543408519662 (patch)
tree100c5aa78214658ddcdbb7d805da6837ad3af462 /trace/simple.h
parent03ec2f83087de34924489eeae0ea6fe7785cc050 (diff)
trace: use glib atomic int types
Juan reported that RHEL 6.4 hosts give compiler warnings because we use unsigned int while glib prototypes use volatile gint in trace/simple.c. trace/simple.c:223: error: pointer targets in passing argument 1 of 'g_atomic_int_compare_and_exchange' differ in signedness These variables are only accessed with glib atomic int functions so let's play it by the book and use volatile gint. Reported-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 1360676045-9204-2-git-send-email-stefanha@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'trace/simple.h')
0 files changed, 0 insertions, 0 deletions