Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 606 Bytes

compiler-warning-level-4-c4057.md

File metadata and controls

19 lines (14 loc) · 606 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 4) C4057
Compiler Warning (level 4) C4057
11/04/2016
C4057
C4057
e75d0645-84c9-4bef-a812-942ed9879aa3

Compiler Warning (level 4) C4057

'operator' : 'identifier1' indirection to slightly different base types from 'identifier2'

Two pointer expressions refer to different base types. The expressions are used without conversion.

To fix by checking the following possible causes

  1. Mixing signed and unsigned types.

  2. Mixing short and long types.