summaryrefslogtreecommitdiff
path: root/amiga/arexx.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-01-15 19:58:24 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2016-01-15 19:58:24 +0000
commit673f3e6887586c31e3f2507c6fd021c1e2c07209 (patch)
treed61f5ec4439eefa6d9c61f3b3435ac26da1835f9 /amiga/arexx.c
parent6ad939b5a6e7807eaad78d5b2e0486c859740cf3 (diff)
downloadnetsurf-673f3e6887586c31e3f2507c6fd021c1e2c07209.tar.gz
netsurf-673f3e6887586c31e3f2507c6fd021c1e2c07209.tar.bz2
Fix some old and new GCC errors/warnings
Diffstat (limited to 'amiga/arexx.c')
-rw-r--r--amiga/arexx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/arexx.c b/amiga/arexx.c
index 45f35f051..1960af0c1 100644
--- a/amiga/arexx.c
+++ b/amiga/arexx.c
@@ -145,7 +145,7 @@ void ami_arexx_execute(char *script)
char full_script_path[1025];
BPTR lock;
- if(lock = Lock(script, ACCESS_READ)) {
+ if((lock = Lock(script, ACCESS_READ))) {
DevNameFromLock(lock, full_script_path, 1024, DN_FULLPATH);
LOG("Executing script: %s", full_script_path);
IDoMethod(arexx_obj, AM_EXECUTE, full_script_path, NULL, NULL, NULL, NULL, NULL);