aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/pool/source
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/pool/source')
-rw-r--r--externals/grill/pool/source/pool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/externals/grill/pool/source/pool.cpp b/externals/grill/pool/source/pool.cpp
index d554a9b6..39ec568d 100644
--- a/externals/grill/pool/source/pool.cpp
+++ b/externals/grill/pool/source/pool.cpp
@@ -484,7 +484,7 @@ static C *ReadAtom(C *c,A *a)
float fres;
// first try float
- if(sscanf(m,"%f",&fres)) {
+ if(sscanf(m,"%f",&fres) == 1) {
if(a) {
int ires = (int)fres; // try a cast
if(fres == ires)