aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-04-24 16:14:32 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-04-24 16:14:32 -0400
commit8e35f384df1812c980f356417aa24cf97667be55 (patch)
treeba999bd37c32651b6308563d6d98c6d44d4f467c /src/lib
parent347677c3330ece8496b9cd242fd7e4292c2260ae (diff)
downloadstasis-8e35f384df1812c980f356417aa24cf97667be55.tar.gz
Bit shift needs to be unsigned long
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/core/envctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/core/envctl.c b/src/lib/core/envctl.c
index d8d1b3d..5987616 100644
--- a/src/lib/core/envctl.c
+++ b/src/lib/core/envctl.c
@@ -53,7 +53,7 @@ size_t envctl_get_index(const struct EnvCtl *envctl, const char *name) {
for (size_t i = 0; i < envctl->num_used; i++) {
if (!strcmp(envctl->item[i]->name, name)) {
// pack state flag, outer (struct) index and inner (name) index
- return 1L << 63L | i;
+ return 1UL << 63UL | i;
}
}
return 0;