Admin Production ni-theme
Current Publication

Pointer Casting (Non-Fatal)

LabWindows/CVI

Pointer Casting (Non-Fatal)

LabWindows/CVI generates a pointer casting error when you cast a pointer expression to type (AnyType *), and not enough space exists for an object of type AnyType at the location the pointer expression specifies. This error occurs only when you cast a dynamically allocated object for the first time, such as with the code (double *) malloc(1). In this example, LabWindows/CVI reports the following error: Not enough space for casting expression to 'pointer to double'.