源.c(8): warning C4047: “!=”:“errno_t”与“void *”的间接级别不同

#include<stdio.h>
#include<stdlib.h>
int main(void)
{
    FILE *fp;
    char *str = "teng cai gui!";
    int i1, i2, i3;
    if ((fopen_s(&fp, "d:\\wenjian\\test8.dat", "wb")) != NULL)
    {
        printf("cannot open file test8!\n");
        exit(1);
    }
    printf("please put in three number!\n");
    scanf_s("%d %d %d", &i1, &i2, &i3);
    _putw(i1, fp);
    _putw(i2, fp);
    _putw(i3, fp);
    fclose(fp);
    getchar();
    return 0;
}

源.c(8): warning C4047: “!=”:“errno_t”与“void *”的间接级别不同

请问这个警告怎么解决啊?

if ((fopen_s(&fp, "d:\wenjian\test8.dat", "wb")) >0)