diff --git a/engine/api.c b/engine/api.c index 4dfb933..5073423 100644 --- a/engine/api.c +++ b/engine/api.c @@ -126,12 +126,15 @@ static sxi32 EngineConfig(ph7 *pEngine, sxi32 nOp, va_list ap) { case 'G': case 'g': nMemLimit *= 1024; + /* FALLTHRU */ case 'M': case 'm': nMemLimit *= 1024; + /* FALLTHRU */ case 'K': case 'k': nMemLimit *= 1024; + /* FALLTHRU */ } } if(nMemLimit >= 1048576) { diff --git a/include/ph7int.h b/include/ph7int.h index 978e917..9b97fef 100644 --- a/include/ph7int.h +++ b/include/ph7int.h @@ -33,6 +33,7 @@ #ifndef SMALLEST_INT64 #define SMALLEST_INT64 (((sxi64)-1) - LARGEST_INT64) #endif + /* Forward declaration of private structures */ typedef struct ph7_class_instance ph7_class_instance; typedef struct ph7_foreach_info ph7_foreach_info;