diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2016-01-11 19:19:20 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2016-01-11 19:19:20 +0000 |
commit | e957887e75051e677bcfda37c62d5052ff6928bb (patch) | |
tree | 0b199e7c767576a88f089f6a5aaab9d73da324be /graphics | |
parent | 24ca9e199f52c55c49fada7bfcdadae88d2f4e7b (diff) | |
download | ports-e957887e75051e677bcfda37c62d5052ff6928bb.tar.gz ports-e957887e75051e677bcfda37c62d5052ff6928bb.zip |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libfpx/files/patch-null-casts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/graphics/libfpx/files/patch-null-casts b/graphics/libfpx/files/patch-null-casts new file mode 100644 index 000000000000..918be6db3c39 --- /dev/null +++ b/graphics/libfpx/files/patch-null-casts @@ -0,0 +1,23 @@ +--- oless/expdf.cxx 2013-09-02 11:47:00.000000000 -0400 ++++ oless/expdf.cxx 2014-02-14 14:29:24.000000000 -0500 +@@ -610,5 +610,5 @@ + olErr(EH_Err, STG_E_INVALIDFUNCTION); + olChk(Validate()); +- if (snbExclude != NULL) ++ if (snbExclude != 0) + olErr(EH_Err, STG_E_INVALIDPARAMETER); + olChk(OpenEntry(pwcsName, STGTY_STORAGE, grfMode, (void **)&pdfExp)); +@@ -909,5 +909,5 @@ + sc = OpenStorage(pwcsName, (IStorage*)NULL, + STGM_DIRECT| STGM_READ| STGM_SHARE_EXCLUSIVE, +- (SNBW)NULL, (DWORD)NULL, &pstgsrc); ++ 0, 0, &pstgsrc); + + if (SUCCEEDED(sc)) +@@ -951,5 +951,5 @@ + olChk(OpenStream(pwcsName, (void *)NULL, + STGM_DIRECT | STGM_READ | STGM_SHARE_EXCLUSIVE, +- (DWORD)NULL, &pstmsrc)); ++ 0, &pstmsrc)); + + // It's a stream |