• Juha Reunanen's avatar
    Problem: integer overflow when calculating sizes (may happen e.g. with very large images) (#1148) · cf5e25a9
    Juha Reunanen authored
    * Problem: integer overflow when calculating sizes (may happen e.g. with very large images)
    Solution: change some types from (unsigned) long to size_t
    
    # Conflicts:
    #	dlib/dnn/tensor.h
    
    * Fix the fact that std::numeric_limits<unsigned long>::max() isn't always the same number
    
    * Revert serialization changes
    
    * Review fix: use long long instead of size_t
    
    * From long to long long all the way
    
    * Change more types to (hopefully) make the compiler happy
    
    * Change many more types to size_t
    
    * Change even more types to size_t
    
    * Minor type changes
    cf5e25a9
Name
Last commit
Last update
..
binary_search_tree_kernel_1.h Loading commit data...
binary_search_tree_kernel_2.h Loading commit data...
binary_search_tree_kernel_abstract.h Loading commit data...
binary_search_tree_kernel_c.h Loading commit data...