Skip to content

Commit 63eb546

Browse files
Allow for longer CPU names
Increase CPUINFO_PACKAGE_NAME_MAX to allow for longer strings, such as "Snapdragon® X Elite - X1E78100 - Qualcomm® Oryon™ CPU", which is 53 characters and WideCharToMultiByte converts to a 57 byte string.
1 parent 8a92100 commit 63eb546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/cpuinfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ struct cpuinfo_cluster {
732732
uint64_t frequency;
733733
};
734734

735-
#define CPUINFO_PACKAGE_NAME_MAX 48
735+
#define CPUINFO_PACKAGE_NAME_MAX 64
736736

737737
struct cpuinfo_package {
738738
/** SoC or processor chip model name */

0 commit comments

Comments
 (0)