diff --git a/flake.lock b/flake.lock index 98f71cb..7217379 100644 --- a/flake.lock +++ b/flake.lock @@ -2,16 +2,16 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1717179513, - "narHash": "sha256-vboIEwIQojofItm2xGCdZCzW96U85l9nDW3ifMuAIdM=", + "lastModified": 1748026580, + "narHash": "sha256-rWtXrcIzU5wm/C8F9LWvUfBGu5U5E7cFzPYT1pHIJaQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "63dacb46bf939521bdc93981b4cbb7ecb58427a0", + "rev": "11cb3517b3af6af300dd6c055aeda73c9bf52c48", "type": "github" }, "original": { "owner": "NixOS", - "ref": "24.05", + "ref": "25.05", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index 397d3fc..eae57fb 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,7 @@ { description = "A flake for dump1090 with DL0XK patches."; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/24.05"; + nixpkgs.url = "github:NixOS/nixpkgs/25.05"; }; diff --git a/net_io.c b/net_io.c index e33e98c..8ae5f08 100644 --- a/net_io.c +++ b/net_io.c @@ -93,7 +93,7 @@ struct net_service *serviceInit(const char *descr, struct net_writer *writer, he { struct net_service *service; - if (!(service = calloc(sizeof(*service), 1))) { + if (!(service = calloc(1, sizeof(*service)))) { fprintf(stderr, "Out of memory allocating service %s\n", descr); exit(1); }