Prepare for 2.81 release, increase version numbers
Fixed DNA serialization for C++11: avoid negative char values Fixes 617. (needs to be tested)
This commit is contained in:
@@ -910,7 +910,8 @@ void dna_write(FILE *file, void *pntr, int size)
|
||||
|
||||
for (i = 0 ; i < size ; i++)
|
||||
{
|
||||
fprintf(file, "%d,", data[i]);
|
||||
unsigned char c =data[i];
|
||||
fprintf(file, "%d,", c);
|
||||
linelength++;
|
||||
if (linelength >= MAX_DNA_LINE_LENGTH) {
|
||||
fprintf(file, "\n");
|
||||
|
||||
Reference in New Issue
Block a user