mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 09:25:44 +01:00
clairify usage of long long with a comment
This commit is contained in:
@@ -68,7 +68,7 @@ int conf_procval(struct conf_entry const* opt, char const* restrict val) {
|
|||||||
// parse the data
|
// parse the data
|
||||||
errno = 0;
|
errno = 0;
|
||||||
char* end;
|
char* end;
|
||||||
int8_t dat[sizeof(long long)];
|
int8_t dat[sizeof(long long)]; // long long is guaranteed to be ≥64 bits in ISO C (double is always 64 bit)
|
||||||
|
|
||||||
switch (opt->type) {
|
switch (opt->type) {
|
||||||
// signed integer data parsing
|
// signed integer data parsing
|
||||||
|
|||||||
Reference in New Issue
Block a user