Skip to content

Commit

Permalink
- use pid_t instead of int
Browse files Browse the repository at this point in the history
  • Loading branch information
aschnell committed Oct 31, 2023
1 parent 9647066 commit 2663798
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion snapper/SystemCmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define SNAPPER_SYSTEM_CMD_H

#include <poll.h>
#include <sys/types.h>
#include <cstdio>
#include <string>
#include <vector>
Expand Down Expand Up @@ -158,7 +159,7 @@ namespace snapper
vector<string> Lines_aC[2];
bool NewLineSeen_ab[2];
int Ret_i = 0;
int Pid_i = 0;
pid_t Pid_i = 0;
struct pollfd pfds[2];

static const unsigned line_limit = 50;
Expand Down

0 comments on commit 2663798

Please sign in to comment.