summaryrefslogtreecommitdiff
path: root/lib/thread.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-11-19 18:44:35 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-11-19 18:44:35 +0000
commit0545c3738438dedbbec4650b5c0e4aa28a1b38ef (patch)
tree7390e93888dfb7e2cdd62cbda12e9a7337cbc568 /lib/thread.h
parent01defa9e0a396b7271e9048d885c2c40a721431e (diff)
*: only use 32-bit atomics
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/thread.h')
-rw-r--r--lib/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.h b/lib/thread.h
index 70090cf784..4de9a65562 100644
--- a/lib/thread.h
+++ b/lib/thread.h
@@ -125,7 +125,7 @@ struct cpu_thread_history {
_Atomic unsigned long total, max;
} real;
struct time_stats cpu;
- _Atomic uint8_t types;
+ _Atomic uint32_t types;
const char *funcname;
};