Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/register.c
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ pbc_register(struct pbc_env * p, struct pbc_slice *slice) {
}
int n = pbc_rmessage_size(message, "file");
struct pbc_rmessage ** files = (struct pbc_rmessage **)alloca(n * sizeof(struct pbc_rmessage *));
int i;
int i, r;
if (n == 0) {
p->lasterror = "register empty";
goto _error;
Expand All @@ -324,7 +324,7 @@ pbc_register(struct pbc_env * p, struct pbc_slice *slice) {
}
}

int r = n;
r = n;
do {
int rr = _register_no_dependency(p,files , n);
if (rr == r) {
Expand Down
2 changes: 1 addition & 1 deletion src/varint.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include <stdint.h>

inline int
int
_pbcV_encode32(uint32_t number, uint8_t buffer[10])
{
if (number < 0x80) {
Expand Down