Skip to content

Commit dffc804

Browse files
committed
Fix two compiler warnings
1 parent cde50b2 commit dffc804

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/valum/valum-router.vala

+1-1
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ namespace Valum {
434434

435435
do {
436436
unowned FlagsValue flags_value = method_class.get_first_value (allowed);
437-
allowed &= ~flags_value.@value;
437+
allowed &= ~((Method) flags_value.@value);
438438
allowedv += flags_value.value_nick == "only-get" ? "GET" : flags_value.value_nick.up ();
439439
} while (allowed > 0);
440440

src/vsgi/vsgi-server-module.vala

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public class VSGI.ServerModule : TypeModule {
6161
}
6262

6363
public override bool load () {
64-
module = Module.open (path, ModuleFlags.BIND_LAZY);
64+
module = Module.open (path, ModuleFlags.LAZY);
6565

6666
if (module == null) {
6767
critical (Module.error ());

0 commit comments

Comments
 (0)