clang-tidy: add most bugprone warnings
[lttng-tools.git] / src / common / conditions / event-rule-matches.cpp
index d951ccd3c351602262a9c5839f5a4bf8a6cfb5da..d86d2ad7b048b036133f8e9ee8f66049287de5f6 100644 (file)
@@ -528,7 +528,7 @@ static uint64_t uint_from_buffer(const struct lttng_buffer_view *view, size_t si
 
        switch (size) {
        case 1:
-               ret = (uint64_t) *uint_view.data;
+               ret = (unsigned char) *uint_view.data;
                break;
        case sizeof(uint32_t):
        {
This page took 0.022554 seconds and 4 git commands to generate.