aboutsummaryrefslogtreecommitdiff
path: root/absl/base/internal/low_level_alloc.h
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2022-08-01 08:29:37 -0700
committerCopybara-Service <copybara-worker@google.com>2022-08-01 08:30:25 -0700
commit16af2bbcb9dd1770c64483aed8cd7d4ae7061064 (patch)
tree358b0bc9ba9786d4af2f49546d2b06868e80e568 /absl/base/internal/low_level_alloc.h
parentdc370a82467cb35066475537b797197aee3e5164 (diff)
downloadabseil-16af2bbcb9dd1770c64483aed8cd7d4ae7061064.tar.gz
abseil-16af2bbcb9dd1770c64483aed8cd7d4ae7061064.tar.bz2
abseil-16af2bbcb9dd1770c64483aed8cd7d4ae7061064.zip
Fix "unsafe narrowing" warnings in absl, 2/n.
Addresses failures with the following, in some files: -Wshorten-64-to-32 -Wimplicit-int-conversion -Wsign-compare -Wsign-conversion -Wtautological-unsigned-zero-compare (This specific CL focuses on .cc files in dirs a-h.) Bug: chromium:1292951 PiperOrigin-RevId: 464541951 Change-Id: If23b63ccea8e9b730159ff1c7288e9300a40b6bd
Diffstat (limited to 'absl/base/internal/low_level_alloc.h')
-rw-r--r--absl/base/internal/low_level_alloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/base/internal/low_level_alloc.h b/absl/base/internal/low_level_alloc.h
index db91951c..eabb14a9 100644
--- a/absl/base/internal/low_level_alloc.h
+++ b/absl/base/internal/low_level_alloc.h
@@ -103,7 +103,7 @@ class LowLevelAlloc {
// the provided flags. For example, the call NewArena(kAsyncSignalSafe)
// is itself async-signal-safe, as well as generatating an arena that provides
// async-signal-safe Alloc/Free.
- static Arena *NewArena(int32_t flags);
+ static Arena *NewArena(uint32_t flags);
// Destroys an arena allocated by NewArena and returns true,
// provided no allocated blocks remain in the arena.