chiark
/
gitweb
/
~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
integer arithmetic types: do not use unsigned for lengths
[secnet]
/
hackypar.c
diff --git
a/hackypar.c
b/hackypar.c
index ebab05147206796f748ce387361c472564f24f26..5c5cd3d013e2022229a7ac3c8a8acaa81f3e5208 100644
(file)
--- a/
hackypar.c
+++ b/
hackypar.c
@@
-79,7
+79,7
@@
int hacky_par_mid_failnow(void) {
bool_t (*packy_par_gen)(struct site *st);
void hacky_par_end(int *ok,
bool_t (*packy_par_gen)(struct site *st);
void hacky_par_end(int *ok,
-
u
int32_t retries, uint32_t timeout,
+ int32_t retries, uint32_t timeout,
bool_t (*send_msg)(struct site *st), struct site *st) {
int i;
bool_t (*send_msg)(struct site *st), struct site *st) {
int i;
@@
-115,7
+115,7
@@
void hacky_par_end(int *ok,
int hacky_par_start_failnow(void) { return 0; }
int hacky_par_mid_failnow(void) { return 0; }
void hacky_par_end(int *ok,
int hacky_par_start_failnow(void) { return 0; }
int hacky_par_mid_failnow(void) { return 0; }
void hacky_par_end(int *ok,
-
u
int32_t retries, uint32_t timeout,
+ int32_t retries, uint32_t timeout,
bool_t (*send_msg)(struct site *st), struct site *st) { }
#endif /*HACKY_PARALLEL...else*/
bool_t (*send_msg)(struct site *st), struct site *st) { }
#endif /*HACKY_PARALLEL...else*/