From 4cf68d69de7238c12b99eeb4d67dab76efbe13d1 Mon Sep 17 00:00:00 2001
From: marko <Unknown>
Date: Fri, 30 Nov 2007 09:44:34 +0000
Subject: [PATCH] Merge a change from MySQL AB:

ChangeSet@1.2528.116.44  2007-09-12 18:16:50-07:00  antony@xiphis.org

Changes for pushbuild test runs and VSC compile warnings

ha_innodb.cc:

resolve a VSC++ typecast compile warning.
---
 handler/ha_innodb.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/handler/ha_innodb.cc b/handler/ha_innodb.cc
index 2e5af89f40..b666269691 100644
--- a/handler/ha_innodb.cc
+++ b/handler/ha_innodb.cc
@@ -7353,7 +7353,7 @@ ha_innobase::get_auto_increment(
 	/* Called for the first time ? */
 	if (trx->n_autoinc_rows == 0) {
 
-		trx->n_autoinc_rows = nb_desired_values;
+		trx->n_autoinc_rows = (ulint) nb_desired_values;
 
 		/* It's possible for nb_desired_values to be 0:
 		e.g., INSERT INTO T1(C) SELECT C FROM T2; */
-- 
2.30.9