Skip to content

Commit 95f8ff1

Browse files
author
camilo
committed
minor fixes
1 parent 09268f4 commit 95f8ff1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

qatcli.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ qBool_t qATCLI_CmdSubscribe( qATCLI_t * const cli,
186186
/*cstat +MISRAC2012-Rule-11.5 +CERT-EXP36-C_b*/
187187
/*command inserted at the beginning of the list*/
188188
cli->qPrivate.first = cmd;
189+
retValue = qTrue;
189190
}
190191
}
191192
}

qioutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ qFloat64_t qIOUtil_AtoF( const char *s )
400400
if ( qTrue == point_seen ) {
401401
fact *= 0.1;
402402
}
403-
rez = ( rez * 10.0 ) + ( (double)c ) - 48.0; /*CERT-FLP36-C deviation allowed*/
403+
rez = ( rez * 10.0 ) + ( (qFloat64_t)c ) - 48.0; /*CERT-FLP36-C deviation allowed*/
404404
}
405405
else {
406406
break;

0 commit comments

Comments
 (0)