Skip to content

Commit 21b8ffc

Browse files
committed
chore: return long instead of int
1 parent acb6a8b commit 21b8ffc

File tree

1 file changed

+4
-4
lines changed
  • spannerlib/wrappers/spannerlib-dotnet/spannerlib-dotnet

1 file changed

+4
-4
lines changed

spannerlib/wrappers/spannerlib-dotnet/spannerlib-dotnet/Rows.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@ public long UpdateCount
4848
var stats = Stats;
4949
if (stats == null)
5050
{
51-
return -1;
51+
return -1L;
5252
}
5353
if (stats.HasRowCountExact)
5454
{
55-
return (int)stats.RowCountExact;
55+
return stats.RowCountExact;
5656
}
5757
if (stats.HasRowCountLowerBound)
5858
{
59-
return (int)stats.RowCountLowerBound;
59+
return stats.RowCountLowerBound;
6060
}
61-
return -1;
61+
return -1L;
6262
}
6363
}
6464

0 commit comments

Comments
 (0)