changeset 1149:e5a858c76b5a

fixed implicit typedef conversion
author thomask
date Thu, 21 Sep 2006 23:53:48 +0000
parents 4e9ac384388d
children 0acada9a9731
files run/i/in_out_body_09_D.d
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/run/i/in_out_body_09_D.d	Thu Sep 21 23:49:44 2006 +0000
+++ b/run/i/in_out_body_09_D.d	Thu Sep 21 23:53:48 2006 +0000
@@ -14,10 +14,10 @@
 
 intX test(intX i)
 body {
-	return i + 1;
+	return cast(intX)(i + 1);
 }
 
 int main(){
 	assert(test(1)==2);
 	return 0;
-}
\ No newline at end of file
+}