jcs
/subtext
/amendments
/459
board+folder: Use LONG_MAX for max value of id, just for struct editor
jcs made amendment 459 about 1 year ago
--- board.c Sun Mar 26 10:18:26 2023
+++ board.c Thu Apr 6 13:47:38 2023
@@ -37,7 +37,7 @@
const struct struct_field board_fields[] = {
{ "Board ID", CONFIG_TYPE_LONG,
offsetof(struct board, id),
- 1, ULONG_MAX },
+ 1, LONG_MAX },
{ "Name", CONFIG_TYPE_STRING,
offsetof(struct board, name),
1, member_size(struct board, name) },
--- folder.c Mon Mar 27 16:00:56 2023
+++ folder.c Thu Apr 6 13:47:25 2023
@@ -35,7 +35,7 @@
const struct struct_field folder_fields[] = {
{ "Folder ID", CONFIG_TYPE_LONG,
offsetof(struct folder, id),
- 1, ULONG_MAX },
+ 1, LONG_MAX },
{ "Name", CONFIG_TYPE_STRING,
offsetof(struct folder, name),
1, member_size(struct folder, name) },