From: Roger Shimizu <rogershimizu@gmail.com>
Date: Tue, 2 May 2017 09:56:18 +0900
Subject: Fix FTBFS on i386 platform

---
 fusetesting/stat_linux.go | 2 +-
 internal/buffer/runtime.s | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fusetesting/stat_linux.go b/fusetesting/stat_linux.go
index eec3568..07da23a 100644
--- a/fusetesting/stat_linux.go
+++ b/fusetesting/stat_linux.go
@@ -30,7 +30,7 @@ func extractBirthtime(sys interface{}) (birthtime time.Time, ok bool) {
 }
 
 func extractNlink(sys interface{}) (nlink uint64, ok bool) {
-	nlink = sys.(*syscall.Stat_t).Nlink
+	nlink = (uint64)(sys.(*syscall.Stat_t).Nlink)
 	ok = true
 	return
 }
diff --git a/internal/buffer/runtime.s b/internal/buffer/runtime.s
index f39415a..0d9d7f6 100644
--- a/internal/buffer/runtime.s
+++ b/internal/buffer/runtime.s
@@ -12,7 +12,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-// +build amd64 arm64 ppc64 ppc64le
+// +build amd64 arm64 ppc64 ppc64le 386 arm
 
 // Assembly code isn't subject to visibility restrictions, so we can jump
 // directly into package runtime.
