diff options
| author | David M. Syzdek <syzdek@bindlebinaries.com> | 2013-12-05 14:53:54 -0900 |
|---|---|---|
| committer | David M. Syzdek <syzdek@bindlebinaries.com> | 2013-12-05 14:53:54 -0900 |
| commit | 75088483c3848e2ef64ba1b752273a533972af20 (patch) | |
| tree | c8ff06a9f6a9190a3509e81c42a40d40e3f0f1f2 | |
| parent | 710138e91dec4eb1c68e1d900651616013a2296a (diff) | |
| download | dmstools-75088483c3848e2ef64ba1b752273a533972af20.tar.gz dmstools-75088483c3848e2ef64ba1b752273a533972af20.tar.bz2 dmstools-75088483c3848e2ef64ba1b752273a533972af20.tar.xz dmstools-75088483c3848e2ef64ba1b752273a533972af20.zip | |
Fixing type casting in posixregex.
| -rw-r--r-- | src/posixregex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/posixregex.c b/src/posixregex.c index 2800293..d43180f 100644 --- a/src/posixregex.c +++ b/src/posixregex.c | |||
| @@ -187,7 +187,7 @@ int main(int argc, char * argv[]) | |||
| 187 | unsigned y; | 187 | unsigned y; |
| 188 | int err; | 188 | int err; |
| 189 | int exitcode; | 189 | int exitcode; |
| 190 | int str_len; | 190 | ssize_t str_len; |
| 191 | int opt_index; | 191 | int opt_index; |
| 192 | char arg[BUFFER_SIZE]; | 192 | char arg[BUFFER_SIZE]; |
| 193 | char msg[BUFFER_SIZE]; | 193 | char msg[BUFFER_SIZE]; |
| @@ -203,7 +203,7 @@ int main(int argc, char * argv[]) | |||
| 203 | int verbosity; | 203 | int verbosity; |
| 204 | int substring; | 204 | int substring; |
| 205 | int reg_cflags; | 205 | int reg_cflags; |
| 206 | unsigned nmatch; | 206 | size_t nmatch; |
| 207 | } opt; | 207 | } opt; |
| 208 | 208 | ||
| 209 | // getopt options | 209 | // getopt options |
