openbsd-ports/games/micropolis/patches/patch-src_tclx_src_tclxlib_c
2017-05-09 13:01:42 +00:00

14 lines
425 B
Plaintext

$OpenBSD: patch-src_tclx_src_tclxlib_c,v 1.2 2017/05/09 13:01:42 espie Exp $
Index: src/tclx/src/tclxlib.c
--- src/tclx/src/tclxlib.c.orig
+++ src/tclx/src/tclxlib.c
@@ -331,7 +331,7 @@ GenerateFileId (interp, filePath, fileId)
return TCL_ERROR;
}
- sprintf (fileId, "@%d:%d", statInfo.st_dev, statInfo.st_ino);
+ sprintf (fileId, "@%d:%llu", statInfo.st_dev, statInfo.st_ino);
return TCL_OK;
}