Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit64171b3

Browse files
committed
Constify dsa_size_class_map and use a better type.
Author: Mark GReviewed-by: Tom LaneDiscussion:https://postgr.es/m/CAEeOP_Zy_FvVwcAU0UX9nkOhnoR5KN%3D0B6LWX_kv0ZuSc4wbGw%40mail.gmail.com
1 parent08c9917 commit64171b3

File tree

1 file changed

+1
-1
lines changed
  • src/backend/utils/mmgr

1 file changed

+1
-1
lines changed

‎src/backend/utils/mmgr/dsa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ static const uint16 dsa_size_classes[] = {
256256
* round the size of the object up to the next multiple of 8 bytes, and then
257257
* index into this array.
258258
*/
259-
staticchardsa_size_class_map[]= {
259+
staticconstuint8dsa_size_class_map[]= {
260260
2,3,4,5,6,7,8,9,10,10,11,11,12,12,13,13,
261261
14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,
262262
18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp