diff --git a/QRCodeService/Services/ShortCodeService.cs b/QRCodeService/Services/ShortCodeService.cs index 61cbee4..a204e05 100644 --- a/QRCodeService/Services/ShortCodeService.cs +++ b/QRCodeService/Services/ShortCodeService.cs @@ -59,7 +59,7 @@ namespace QRCodeService.Services } if(length == 8) { - return BitConverter.ToInt32(result, 8 * index).ToBase62(); + return BitConverter.ToInt64(result, 8 * index).ToBase62(); } if(length == 16) {