Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
[libtooling][biniou] fix integers too large for ocaml
Browse files Browse the repository at this point in the history
Test Plan:
The compilation of objc models in infer fails without this:

  cd ~/infer
  make -C infer clang

Reviewers: mathieubaudet

Reviewed By: mathieubaudet

Subscribers: martinoluca

Differential Revision: https://phabricator.fb.com/D2360597

Tasks: 7792959

Signature: t1:2360597:1440005090:0f4162ca0d9bf5673878767e409ba12bc46c41c4
  • Loading branch information
jvillard committed Aug 19, 2015
1 parent fc1e0a5 commit 1bd0b7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libtooling/atdlib/ATDWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ namespace ATDWriter {
write32(x);
}

void writeUvint(size_t x) {
void writeUvint(unsigned int x) {
while (x > 127) {
write8(x | 128);
x >>= 7;
Expand Down

0 comments on commit 1bd0b7f

Please sign in to comment.