[Genabel-commits] r1385 - pkg/GenABEL/src/GAlib
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Nov 12 16:02:59 CET 2013
Author: maksim
Date: 2013-11-12 16:02:58 +0100 (Tue, 12 Nov 2013)
New Revision: 1385
Modified:
pkg/GenABEL/src/GAlib/gtps_container.cpp
Log:
Changed to protect against WARNING from some C compilers.
Modified: pkg/GenABEL/src/GAlib/gtps_container.cpp
===================================================================
--- pkg/GenABEL/src/GAlib/gtps_container.cpp 2013-11-11 23:27:28 UTC (rev 1384)
+++ pkg/GenABEL/src/GAlib/gtps_container.cpp 2013-11-12 15:02:58 UTC (rev 1385)
@@ -175,7 +175,8 @@
//std::cout<<"rearrangement_array["<<i<<"]="<<rearrangement_array[i]<<"\n";
-static const char clear_info_for_person[]={63, 207, 243, 252};
+//static const char clear_info_for_person[]={63, 207, 243, 252};
+static const char clear_info_for_person[]={char(63), char(207), char(243), char(252)};
//std::cout<<"set: id_position="<<id_position<<", snp_position="<<snp_position<<", data="<<int(data)<<"\n";
get_our_byte_number_and_local_person_number(id_position, snp_position);
More information about the Genabel-commits
mailing list