summaryrefslogtreecommitdiffstats
path: root/src/io/sys.cpp
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-01-12 21:45:33 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-01-12 21:45:33 +0000
commit00bf8be09a333bb7434eeba9e885e6089b6eb5fd (patch)
tree14b0bacc2b276b58c77c0bbb46aa569e39c64d5c /src/io/sys.cpp
parent[Bug #1650480] pyserial errorhandling in plotter.py tries to iterate over wro... (diff)
downloadinkscape-00bf8be09a333bb7434eeba9e885e6089b6eb5fd.tar.gz
inkscape-00bf8be09a333bb7434eeba9e885e6089b6eb5fd.zip
Use GStatBuf where appropriate to ensure usage of the correct type
(fixes compilation with i686-w64-mingw32) (bzr r15414)
Diffstat (limited to 'src/io/sys.cpp')
-rw-r--r--src/io/sys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/sys.cpp b/src/io/sys.cpp
index 94175176a..61a6a96f4 100644
--- a/src/io/sys.cpp
+++ b/src/io/sys.cpp
@@ -226,7 +226,7 @@ bool Inkscape::IO::file_is_writable( char const *utf8name)
filename = g_filename_from_utf8 ( utf8name, -1, NULL, NULL, NULL );
}
if ( filename ) {
- struct stat st;
+ GStatBuf st;
if (g_file_test (filename, G_FILE_TEST_EXISTS)){
if (g_lstat (filename, &st) == 0) {
success = ((st.st_mode & S_IWRITE) != 0);