Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
f7e6c445
Commit
f7e6c445
authored
Apr 07, 2016
by
Thomas Jahns
🤸
Browse files
Use enum instead of const int.
parent
1fc2bfc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf.c
View file @
f7e6c445
...
...
@@ -3111,7 +3111,7 @@ int scan_hybrid_formula(int ncid, int ncfvarid, int *apvarid, int *bvarid, int *
*
psvarid
=
-
1
;
*
avarid
=
-
1
;
*
p0varid
=
-
1
;
const
int
attstringlen
=
8192
;
char
attstring
[
8192
];
enum
{
attstringlen
=
8192
}
;
char
attstring
[
attstringlen
];
cdfGetAttText
(
ncid
,
ncfvarid
,
"formula"
,
attstringlen
,
attstring
);
if
(
strcmp
(
attstring
,
"p = ap + b*ps"
)
==
0
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment