stage3/fill_candidate_datatypes.cc
changeset 429 26bec44c591f
parent 427 eb9bc99944d9
child 431 5792016eedd8
--- a/stage3/fill_candidate_datatypes.cc	Mon Feb 06 14:15:31 2012 +0000
+++ b/stage3/fill_candidate_datatypes.cc	Mon Feb 06 14:21:08 2012 +0000
@@ -174,7 +174,7 @@
 	calc_size = sizeoftype(symbol);
 	if (calc_size <= sizeoftype(&search_constant_type_c::real_type_name))
 		symbol->candidate_datatypes.push_back(&search_constant_type_c::real_type_name);
-	if (calc_size <= sizeoftype(&search_constant_type_c::real_type_name))
+	if (calc_size <= sizeoftype(&search_constant_type_c::lreal_type_name))
 		symbol->candidate_datatypes.push_back(&search_constant_type_c::lreal_type_name);
 	if (debug) std::cout << "ANY_REAL [" << symbol->candidate_datatypes.size() << "]" << std::endl;
 	return NULL;