aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/pool
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/pool')
-rw-r--r--externals/grill/pool/package.txt5
-rw-r--r--externals/grill/pool/source/pool.cpp2
2 files changed, 6 insertions, 1 deletions
diff --git a/externals/grill/pool/package.txt b/externals/grill/pool/package.txt
index 1fca6a4f..a873f5c9 100644
--- a/externals/grill/pool/package.txt
+++ b/externals/grill/pool/package.txt
@@ -1,6 +1,11 @@
NAME=pool
+BUILDCLASS=ext
+BUILDMODE=release
+BUILDTYPE=single
+
SRCDIR=source
+PRECOMPILE=pool.h
SRCS= main.cpp data.cpp pool.cpp
HDRS= pool.h
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)