Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion objectivec/GPBRootObject.m
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ static id ExtensionForName(id self, SEL _cmd) {

const char *className = class_getName(self);
size_t classNameLen = strlen(className);
char key[classNameLen + selNameLen + 2];
char *key = alloca(classNameLen + selNameLen + 2);
memcpy(key, className, classNameLen);
key[classNameLen] = '_';
memcpy(&key[classNameLen + 1], selName, selNameLen);
Expand Down
1 change: 0 additions & 1 deletion python/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ py_extension(
copts = UPB_DEFAULT_COPTS + select(LIMITED_API_FLAG_SELECT) + [
# The Python API requires patterns that are ISO C incompatible, like
# casts between function pointers and object pointers.
"-Wno-pedantic",
],
features = UPB_DEFAULT_FEATURES,
target_compatible_with = select(_message_target_compatible_with),
Expand Down
Loading