summaryrefslogtreecommitdiff
path: root/src/bin/embryo
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-09-01 19:30:16 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-09-01 19:40:47 +0900
commit0040e00373b2b63fa2ec14cd2e43939df54247d7 (patch)
tree8b72ecfcdd3a828020def9828103144de0b4e3b2 /src/bin/embryo
parentec3c84b61e765d7146492bc8d0ef7e46c9568857 (diff)
embryo_cc - fix symbol write
this fixes an actual bug coverity found in embryo_cc fix CID 1039650
Diffstat (limited to 'src/bin/embryo')
-rw-r--r--src/bin/embryo/embryo_cc_sc6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/embryo/embryo_cc_sc6.c b/src/bin/embryo/embryo_cc_sc6.c
index a6b299d9a4..ccf8abf1dd 100644
--- a/src/bin/embryo/embryo_cc_sc6.c
+++ b/src/bin/embryo/embryo_cc_sc6.c
@@ -371,7 +371,7 @@ do_symbol(FILE * fbin, char *params, cell opcode)
371 int len; 371 int len;
372 unsigned char mclass, type; 372 unsigned char mclass, type;
373 373
374 for (endptr = params; !sc_isspace(*endptr) && endptr != '\0'; endptr++) 374 for (endptr = params; (!sc_isspace(*endptr)) && (*endptr != '\0'); endptr++)
375 /* nothing */ ; 375 /* nothing */ ;
376 assert(*endptr == ' '); 376 assert(*endptr == ' ');
377 377