summaryrefslogtreecommitdiff
path: root/www-client/chromium/files/chromium-120-safe_sprintf-nullptr-t.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/chromium/files/chromium-120-safe_sprintf-nullptr-t.patch')
-rw-r--r--www-client/chromium/files/chromium-120-safe_sprintf-nullptr-t.patch11
1 files changed, 10 insertions, 1 deletions
diff --git a/www-client/chromium/files/chromium-120-safe_sprintf-nullptr-t.patch b/www-client/chromium/files/chromium-120-safe_sprintf-nullptr-t.patch
index b0cf884..e452ba0 100644
--- a/www-client/chromium/files/chromium-120-safe_sprintf-nullptr-t.patch
+++ b/www-client/chromium/files/chromium-120-safe_sprintf-nullptr-t.patch
@@ -1,7 +1,16 @@
diff --git a/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/safe_sprintf.h b/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/safe_sprintf.h
-index 3644afae8b..386f86ac80 100644
+index 3644afae8b..75e14afa24 100644
--- a/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/safe_sprintf.h
+++ b/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/safe_sprintf.h
+@@ -5,7 +5,7 @@
+ #ifndef BASE_ALLOCATOR_PARTITION_ALLOCATOR_SRC_PARTITION_ALLOC_PARTITION_ALLOC_BASE_STRINGS_SAFE_SPRINTF_H_
+ #define BASE_ALLOCATOR_PARTITION_ALLOCATOR_SRC_PARTITION_ALLOC_PARTITION_ALLOC_BASE_STRINGS_SAFE_SPRINTF_H_
+
+-#include <stddef.h>
++#include <cstddef>
+ #include <stdint.h>
+ #include <stdlib.h>
+
@@ -184,7 +184,7 @@ struct Arg {
//
// Warning: don't just do Arg(NULL) here because in some libcs, NULL is an