summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/H5.c b/src/H5.c
index c0b4221..2c40405 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -823,8 +823,17 @@ HDfprintf (FILE *stream, const char *fmt, ...)
break;
default:
- modifier[0] = *s;
- modifier[1] = '\0';
+ /* Handle 'll' for long long types */
+ if(*s=='l' && *(s+1)=='l') {
+ modifier[0] = *s;
+ modifier[1] = *s;
+ modifier[2] = '\0';
+ s++; /* Increment over first 'l', second is taken care of below */
+ } /* end if */
+ else {
+ modifier[0] = *s;
+ modifier[1] = '\0';
+ } /* end else */
break;
}
s++;