Index: trunk/ab5.0/abdev/BasicCompiler64/Compile_Var.cpp
===================================================================
--- trunk/ab5.0/abdev/BasicCompiler64/Compile_Var.cpp	(revision 453)
+++ trunk/ab5.0/abdev/BasicCompiler64/Compile_Var.cpp	(revision 454)
@@ -875,5 +875,5 @@
 	}
 	else if( type.Is64() || type.IsPointer() ){
-		if(type.GetBasicType()==typeOfPtrChar){
+		if( type.GetBasicType() == typeOfPtrChar && type.GetIndex() == LITERAL_STRING ){
 			//文字列定数のとき
 
@@ -1044,5 +1044,5 @@
 	}
 	else if( type.Is64() || type.IsPointer() ){
-		if(type.GetBasicType()==typeOfPtrChar ){
+		if( type.GetBasicType() == typeOfPtrChar && type.GetIndex() == LITERAL_STRING ){
 			//文字列定数のとき
 
