Add another cast to ignore int/ulong difference in error types, silence warning on Win64

This commit is contained in:
Timothy Smith 2009-01-16 17:49:07 +01:00
parent 932b6454f3
commit 2389815aba

View File

@ -3687,7 +3687,7 @@ no_commit:
/* We don't want to mask autoinc overflow errors. */
if (prebuilt->autoinc_error != DB_SUCCESS) {
error = prebuilt->autoinc_error;
error = (int) prebuilt->autoinc_error;
goto report_error;
}