patch 8.2.4241: some type casts are redundant

Problem:    Some type casts are redundant.
Solution:   Remove the type casts. (closes #9643)
diff --git a/src/misc1.c b/src/misc1.c
index e43d001..7fc625b 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -379,7 +379,7 @@
 
     lines = plines_win_nofold(wp, lnum);
     if (winheight > 0 && lines > wp->w_height)
-	return (int)wp->w_height;
+	return wp->w_height;
     return lines;
 }