[gnome-games/ricotz/vala] Don't use unsupported vala syntax
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/ricotz/vala] Don't use unsupported vala syntax
- Date: Thu, 2 Jul 2020 13:37:31 +0000 (UTC)
commit 8b460993272575711cc95b212bb63761caca5ae1
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Thu Jul 2 15:37:00 2020 +0200
Don't use unsupported vala syntax
src/utils/unicode.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/utils/unicode.vala b/src/utils/unicode.vala
index 3cf7eaca..ad6ad1a0 100644
--- a/src/utils/unicode.vala
+++ b/src/utils/unicode.vala
@@ -27,7 +27,7 @@ namespace Games.Unicode {
private Encoding parse_encoding (FileInputStream stream, out int bom_length) throws Error {
stream.seek (0, SeekType.SET);
- uint8[4] c = { 0, 0, 0, 0 };
+ uint8[] c = { 0, 0, 0, 0 };
var size = stream.read (c);
if (size < 4) {
bom_length = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]