diff options
| author | lhchavez <[email protected]> | 2020-02-23 23:24:27 +0000 |
|---|---|---|
| committer | lhchavez <[email protected]> | 2020-02-23 15:32:29 -0800 |
| commit | 93c4c5b30a73a587efd2f5bc1f33d0ef8cec6950 (patch) | |
| tree | 2ea2d71ace717527b7a26862e559873623076816 | |
| parent | 91946a570500bc441be0aea4603a5c83f81e22a4 (diff) | |
Fix the DiffFlag type
This change makes the underlying type of DiffFlag be uint32 instead of
int. That makes it possible to build on 32-bit systems.
Fixes: #487
| -rw-r--r-- | diff.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ import ( "unsafe" ) -type DiffFlag int +type DiffFlag uint32 const ( DiffFlagBinary DiffFlag = C.GIT_DIFF_FLAG_BINARY |
