Skip to content
Snippets Groups Projects
Commit 99494140 authored by rswindell's avatar rswindell
Browse files

Resolve MSVC warning about boolean conversion.

parent 0de9075d
Branches
Tags
No related merge requests found
...@@ -3657,7 +3657,7 @@ js_download_msg_attachments(JSContext *cx, uintN argc, jsval *arglist) ...@@ -3657,7 +3657,7 @@ js_download_msg_attachments(JSContext *cx, uintN argc, jsval *arglist)
return JS_FALSE; return JS_FALSE;
} }
} else if(JSVAL_IS_BOOLEAN(argv[n])) { } else if(JSVAL_IS_BOOLEAN(argv[n])) {
del = JSVAL_TO_BOOLEAN(argv[n]); del = JSVAL_TO_BOOLEAN(argv[n]) ? true : false;
} }
} }
if(smb == NULL || msg == NULL) if(smb == NULL || msg == NULL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment