summaryrefslogtreecommitdiff
path: root/Examples/encoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/encoder.c')
-rw-r--r--Examples/encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/encoder.c b/Examples/encoder.c
index 8b9184f..367686e 100644
--- a/Examples/encoder.c
+++ b/Examples/encoder.c
@@ -326,7 +326,7 @@ int main (int argc, char **argv) {
/* Get current working directory for construction of file names */
curdir = (char*)malloc(sizeof(char)*1000);
- getcwd(curdir, 1000);
+ assert(curdir == getcwd(curdir, 1000));
if (argv[1][0] != '-') {